On 1/2/08, Robert Hicks <[EMAIL PROTECTED]> wrote:
>
> I had trim => 1 set as a global. Would that have caused this:
>
> <title>[% webpage_title %] </title>
>
> to become:
>
> <title The Webber</title>
>
> Notice the missing bracket after "title"? That was happening on one
> page. All the other pages had spaces around the TT block like:
>
> <title> [% webpage_title %] </title>
>
> and were rendered fine.


Maybe webpage_title has a leading backspace character in it?  For example:

$ perl -le 'print "<title>\x08 The Webber </title>"'
<title The Webber </title>

That would cause the backspaced-over character(s) to be hidden on a
terminal, but not (I presume) on a web browser.

If that's not the issue, try turning off global trim.  If the problem
persists, trimming isn't the issue.


--Sean
_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to