Opened 17 years ago
Last modified 17 years ago
#92 closed defect
Genshi won't render variables with an extra $ before them in the template — at Initial Version
Reported by: | adam@… | Owned by: | cmlenz |
---|---|---|---|
Priority: | minor | Milestone: | 0.4 |
Component: | Template processing | Version: | 0.3.5 |
Keywords: | Cc: |
Description
It seems that Genshi won't render a variable when the template has an extra $ before it.
Examples: if payment_amount is 10 ${payment_amount} will render to 10 $${payment_amount} will render out to ${payment_amount} $$${payment_amount} will render to $${payment_amount} $$$${payment_amount} will render to $${payment_amount} $$$$${payment_amount} will render to $$${payment_amount}
I also tried $${payment_amount}, but that renders to ${payment_amount}
The workaround that I found is $‍${payment_amount}, which renders to $10, but it looks messy in the rendered code with the zero-width joiner