We're a little puzzled by this, any help would be appreciated.

We're converting some HTML to TT.  Our current HTML uses single quotes
around the attribute values, which is unusual though not unreasonable.
 This idiom correctly deals with everything but the single quote:

[% param4 = "Bob's Diner & " _ '"Sandwiches"' %]
<a href='/foo?param1=[% name | uri %]'>

It outputs this, which given that the single quote is the attribute
delimiter, is broken HTML

<a href='/foo?name=Bob's%20Diner%20%26%20%22Sandwiches%22'>

Is there a good way to deal with that besides just requiring
double-quotes for the attribute values?

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

Reply via email to