Module: BBcode GeSHi (code syntax highlighting)
Posted by Maurice Makaay
Error on formatting some languages October 27, 2009 02:00PM |
Registered: 15 years ago Posts: 15 |
When Groovy or Java 5 code is formatted, the code is cluttered with parts of URLs.
Instead of
Instead of
class BoxI see
class 5.0%2Fdocs%2Fapi%2F">BoxReal life example: [www.groovy-forum.de] (BBcode GeSHi (code syntax highlighting) (version 1.0.3))
Re: Error on formatting some languages October 27, 2009 03:38PM |
Admin Registered: 20 years ago Posts: 8,532 |
Sounds like an issue with the GeSHi library. Did you check if this is a known issue for GeSHI?
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Error on formatting some languages November 14, 2009 03:57AM |
Registered: 15 years ago Posts: 15 |
Thanks for your reply. It looks to me like a GeSHi bug too. I reported this bug.
Re: Error on formatting some languages November 14, 2009 08:05AM |
Admin Registered: 20 years ago Posts: 8,532 |
Keep me posted. If something's fixed in GeSHi, I will upgrade the package.
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: BBcode GeSHi (code syntax highlighting) December 01, 2009 04:26AM |
Registered: 15 years ago Posts: 15 |
The error status is still "unresolved" but maybe it is fixed in GeSHi 1.1.1 [sourceforge.net]. I'd test it, if you would make a package with this version.
Re: Module: BBcode GeSHi (code syntax highlighting) December 01, 2009 05:09AM |
Admin Registered: 21 years ago Posts: 9,240 |
Re: Error on formatting some languages June 08, 2010 02:05AM |
Registered: 15 years ago Posts: 15 |
GeShi 1.0.8.5 fixes the error with the HTML fragments in the source code. I'm looking foward to a new version of the plugin.
Re: Error on formatting some languages June 08, 2010 05:59AM |
Admin Registered: 20 years ago Posts: 8,532 |
Thanks for the notice. I upgraded the package. It now contains version 1.0.8.8 of GeSHi. There were some small changes needed in the generation of the required CSS-code, but I think that all is functional in the new package.
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: BBcode GeSHi (code syntax highlighting) July 23, 2011 09:23PM |
Admin Registered: 20 years ago Posts: 8,532 |
I released version 1.0.5 of the BBcode GeSHi module. The main work on this module was to get the broken jumpmenu working again on this site for MSIE8 (and possible other versions of that browser). Something in the CSS for this module (unfortunately I'm still not 100% sure what exactly) caused the CSS code for the jumpmenu to be fully ignored. I other browsers, this issue did not occur. Version 1.0.5 works around this browser issue.
Full changelog:
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Full changelog:
- Fixed a really edge-case MSIE8 CSS rendering issue with this module. The issue caused MSIE8 to ignore parts of the total CSS code, resulting in random page rendering issues. - Upgraded the included GeSHi package to version to 1.0.8.10. - Fixed PHP warning: Deprecated: Function split() is deprecated in ... bbcode_geshi.php - Fixed incorrect stripping of leading white space. Only leading white lines have to be stripped. - Improved rebuilding the CSS cache for this module, by also rebuilding it when the bbcode_geshi.php module file is updated. This improves rebuilding the cache during module development and after upgrades. - The CSS code now only contains the code for the activated languages in the module configuration.
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: BBcode GeSHi (code syntax highlighting) October 14, 2019 04:44AM |
Registered: 4 years ago Posts: 1 |
I have a bit of a problem. I updated Phorum to the latest version. I first used the older version of Ghesi, then 1.0.5, then the latest available 1.0.9. but the problem does not go away. When inserting code (any language) containing a single quote, something strange happens when the code is rendered - a semi-colon is generated after the quote. I say "generated" because the db entry is fine.
As an example:
Note I did not add the semi-colons appearing here above - I submitted the code without the semi-colons. Before I go to Ghesi, am I missing something?
Edited 1 time(s). Last edit at 10/14/2019 04:45AM by Thomas_1.
As an example:
Language: PHPecho "<select name=';competition';>"; while(list($competitionName) = $result->fetch_row()) { echo "<option value=';$competitionName';>"; //another example echo $there . ';and'; . $here;
Note I did not add the semi-colons appearing here above - I submitted the code without the semi-colons. Before I go to Ghesi, am I missing something?
Edited 1 time(s). Last edit at 10/14/2019 04:45AM by Thomas_1.
Sorry, only registered users may post in this forum.