|
Hi,
Is there a feature in the Template Toolkit (specifically, the Perl front end Template module) that will decode HTML entities in code snippets before parsing the template file?
The reason I need such a feature is that I want to allow non-developers to edit template files in Dreamweaver, and that means template files have to be valid HTML. For example, the code snippet [% IF count < 10 %] is not valid HTML. If I encode HTML entities (<) then they will render correctly in Dreamweaver, but then I would need a way to decode HTML entities in code snippets before they are parsed by the Template process method. Is such a feature readily available? I have been reading the Perl documentation of Template.pm all morning, but I have not found any hint that such a feature may exist.
Andrew Strader
|
- Re: [Templates] question: automatic entity decoding Andrew Strader
- Re: [Templates] question: automatic entity decoding Stuart Johnston
- Re: [Templates] question: automatic entity decoding Harald Joerg
- Re: [Templates] question: automatic entity decoding Tosh Cooey
