Opened 6 years ago
Last modified 6 years ago
#614 new defect
Markup doesn't work in attributes
Reported by: | magnus.carlsson@… | Owned by: | cmlenz |
---|---|---|---|
Priority: | major | Milestone: | 0.8 |
Component: | Template processing | Version: | 0.7.2 |
Keywords: | Cc: | hodgestar |
Description (last modified by rjollos)
I can use ${Markup(data)} to avoid escaping in most cases but when I try to use it in a attribute it is ignored:
<div title="${Markup(data)}">${Markup(data)}</div>
will produce something like this if data = "Text Text"
<div title="Text&nbsp;Text">Text Text</div>
My main use case or this is to include in the tooltips.
Change History (5)
comment:1 Changed 6 years ago by rjollos
- Description modified (diff)
comment:2 follow-up: ↓ 3 Changed 6 years ago by rjollos
- Cc hodgestar added
comment:3 in reply to: ↑ 2 Changed 6 years ago by anonymous
Replying to rjollos:
Did you test with Genshi 0.7.1?
Sorry, yes I am running 0.7.1 (I couldn't select it in the version drop down and then I forgot to add it in the description.)
comment:5 Changed 6 years ago by hodgestar
- Version changed from 0.7.1 to 0.7.2
Bump open 0.7.1 tickets to 0.7.2.
Note: See
TracTickets for help on using
tickets.
Did you test with Genshi 0.7.1?