What about the html entity: #36;
On 26/10/2009 23:10, Cameron Junge cameron.ju...@finda.co.nz wrote:
Hi All,
Not sure if this has been covered on this list before, my quick search
couldn't find anything that seemed appropriate.
If I wish to display a $ followed by a tal variable using
On 26-10-2009 at 23:10:45 Cameron Junge cameron.ju...@finda.co.nz wrote:
Eg. if I have a variable amount with the value 100, and I want to
display is as $100 then I either have to do:
a) $ ${amount}; or
b) $tal:block replace=amount /; or
c) tal:block replace=money: amount /
$x
I vote for not changing the current behaviour; I agree that if it's
documented, it can be a little weird ;-)
Personally I would choose to have a money formatter TALES construct,
because I hate having to go through my templates again when I start
adding another currency for instance.
Best,