bgarrels / textpattern

Automatically exported from code.google.com/p/textpattern
0 stars 0 forks source link

<txp:text /> doesn't support replacement tags #286

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The text tag doesn't support replacement tags. This makes using it for 
localization pretty hard. Imagine RTL among others.

To-do:

* Map any extra attributes as replacement tags.
* Add 'escape' attribute.

E.g.

<txp:text item="posted_note" time='<txp:posted />' author='<txp:author />' />

Resulting in:

"2 days ago by John Doe"

Original issue reported on code.google.com by jukka.m.svahn on 14 Oct 2012 at 1:23

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r4282.

Original comment by jukka.m.svahn on 14 Oct 2012 at 1:39