CodeIgniter Forums
Syntax hilighter bug - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Syntax hilighter bug (/showthread.php?tid=22543)



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