Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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