Hi!

I was wondering if it's possible to disable the External Links in the links created by the Geshi filter? Any things I should consider?

Thanks!

Comments

quicksketch’s picture

External links only affects links that are actually <a href=""></a> links. What's probably happening is that you have the core "URL filter" enabled on you input format, which is automatically creating links out of URLs. What you need to do is not disable External Links (which just adds an icon), but disable the automatic creation of URLs added by the core URL Filter.

quicksketch’s picture

Status: Active » Closed (fixed)
J. Scott Elblein’s picture

I have my URL filter disabled and still have this problem. When you use the geshi tags it's meant to be able to display actual code, so oftentimes you manually add the "a href, etc." as the code to display, and sometimes the external links icon shows up in it.

marcoka’s picture

Project: External Links » GeSHi Filter for syntax highlighting
Version: 6.x-1.9 » 7.x-1.0-beta1

well, he is right but i think geshi itself need some "protect a href", meaning dont display them as links and dont add other stuff.

i have the problem too that the url filter kills all my geshi code like he makes a hrefs out of urls. disable it globally is not an option. so we should use some protecting that protects all stuff inside geshi tags not to be altered by any filters.

marcoka’s picture

have you tried moving filter weights? i f i for example move geshi to the top, url filter doesnt convert my urls inside geshi tags to links anymore