CodeIgniter Forums
Syntax hilighter bug - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Syntax hilighter bug (/thread-22543.html)



Syntax hilighter bug - El Forum - 09-13-2009

[eluser]Arjen van Bochoven[/eluser]
The Syntax hilighter code that is used for the forums and the wiki has a rendering bug which results in unreadable and unexecutable code.

I want to share the following piece of code:

Code:
'<b href="'.$this->base_url.'">mygreatlink</a>'

As you can see it renders fine, until you replace the b with a

then you see this:

Code:
'<a >base_url.'">zapper</a>'

looks like a bug to me. It prevents the 'Digg Style Pagination Library' from being used.

Arjen