markwatkinson/ci-syntax-highlight — Issue #1: Better tag detection
Author: markwatkinson
Created: 2011-10-12 19:37:50+00:00
State: open

The hook uses a regex to determine the position of code tags, and we all know that parsing XML (HTML) with regular expressions is not a great idea.

Investigate whether any of PHP's built in XML parsers could be used without adding major slowdown.

This gets a little complicated for [code] [/code] blocks, as they aren't technically XML elements.