Closed (fixed)
Project:
GeSHi Filter for syntax highlighting
Version:
5.x-2.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
10 Oct 2007 at 15:10 UTC
Updated:
26 Dec 2007 at 16:16 UTC
If I user html4strict and enable external links module, like the following code
< code language="html4strict">
<a href="http://www.anobii.com/books/00093d830538ff34f1/">
<img src="http://image.anobii.com/anobi/image_item.php?type=4&isbn=986779950X" style="float:left; margin:10px;" /></a>
</code >
Then is will generate a HTML link in the "a" character. But if I don't use html4strict (i.e. use css) or disable external links module, then it's ok.
I'm not sure, should I put this request in external links module ?
btw, why not use "HTML" instead of "html4strict" ?
Comments
Comment #1
soxofaan commentedThat's because of the keyword urls feature of GeSHi : http://qbnz.com/highlighter/geshi-doc.html#keyword-urls, which adds links from language keywords to their documentation.
the external links module adds and icon because it detects this outbound link
since commit http://drupal.org/cvs?commit=91122 it's possible to dissable keyword urls
Comment #2
soxofaan commentedIt's "html4strict" because the GeSHi definition file for html is "html4strict.php"
If you don't like that, you can create a language tag "html" and use [html] or <html>
Comment #3
soxofaan commentedthis feature is now available in the recently released geshifilter 5.x-2.3
Comment #4
soxofaan commentedComment #5
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.