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 Version 1
Reported by: | adam@… | Owned by: | cmlenz |
---|---|---|---|
Priority: | minor | Milestone: | 0.4 |
Component: | Template processing | Version: | 0.3.5 |
Keywords: | Cc: |
Description (last modified by cmlenz)
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
Change History (1)
comment:1 Changed 17 years ago by cmlenz
- Description modified (diff)
- Status changed from new to assigned
Note: See
TracTickets for help on using
tickets.
(fixed up wiki formatting for better readability)