projectwonder/wonder — pull request #433 by darkv (2013-05-17 10:14:11+00:00)
Title: Template parser patch

When using CDATA sections within a XHTML document the parser produces stack traces in the logfiles (document is completely and correctly parsed though). This patch tests for CDATA sections and prevents the stack trace.

Additionally the patch makes some memory optimizations to reduce the creation of string objects during parsing.