Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-09-17 07:13:20

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

escape quotes in attribute values

I’d suggest that the tag parser obeyed quote escapements in the spirit of PHP, e.g. <txp:foo att="bar \"baz\"" />.

Use case:

<txp:if_custom_field name="custom1" val="quotes? \"yes!\"" />
here
<txp:else />
there
</txp:if_custom_field>

Thanks.

Offline

#2 2006-09-17 11:15:03

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: escape quotes in attribute values

The txp 4.1 parser already does.


Alex

Offline

Board footer

Powered by FluxBB