Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


UTF/Entities are not handled quite right #4

zostay opened this Issue · 1 comment

2 participants


For example, if you use « and » (« and » in HTML), they will be turned into XML entities and then rendered incorrectly in the browser.

It looks like the reason for this is that serialize() is being used to render XML and then sort of being hacked into HTML. Seems like it might make more sense to use XML::LibXML's toStringHTML() to do that instead.

If I use that on the DOM document inside of Template::Semantic::Document, I get the expected output.

Lx commented

I suspect that this problem is related:

$ pmvers Template::Semantic
$ perl -MTemplate::Semantic
print Template::Semantic->process(
    { 'span' => \'&minus;123.45', },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.