Re: [Templates] question: automatic entity decoding
[prev]
[thread]
[next]
[Date index for 2005/04/27]
If your goal is to edit Templates in Dreamweaver you would probably be
better off with a solution like:
http://template-toolkit.org/pipermail/templates/2002-September/003717.html
Andrew Strader wrote:
> 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
>
>
>
_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates
 |
 |
Re: [Templates] question: automatic entity decoding
Stuart Johnston 20:14 on 27 Apr 2005
|