Closed (fixed)
Project:
GeSHi Filter for syntax highlighting
Version:
6.x-1.x-dev
Component:
Filtering
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
16 Aug 2009 at 20:49 UTC
Updated:
31 Aug 2009 at 08:40 UTC
When Keyword URLs are enabled, these urls for Drupal language blocks are broken.
E.g. the input
[code lang="drupal6"]
form_set_error('thingy', 'ur doin it rong');
[/code]
gives something like
<a href="http://api.drupal.org/api/function/form_set_error/<span class="nu0">6"><span class="kw5">form_set_error</span></a><span class="br0">(</span><span class="st0">'thingy'</span>, <span class="st0">'ur doin it rong'</span><span class="br0">)</span>;
The "6" in the url apparently triggers some extra filtering in the GeSHi library and breaks the url.
GeSHi version 1.0.8.3 and probably before are fine, 1.0.8.4 has the problem.
This is a bug/problem in the GeSHi library, discussed at http://sourceforge.net/tracker/index.php?func=detail&atid=670231&aid=280...
Comments
Comment #1
soxofaan commentedThe problem is fixed in GeSHi SVN, so GeSHi 1.0.8.5 should be fine when it comes out.