Edgewall Software

Opened 5 years ago

Last modified 5 years ago

#614 new defect

Markup doesn't work in attributes — at Initial Version

Reported by: magnus.carlsson@… Owned by: cmlenz
Priority: major Milestone: 0.8
Component: Template processing Version: 0.7.2
Keywords: Cc: hodgestar

Description

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&nbsp;Text" <div title="Text&amp;nbsp;Text">Text&nbsp;Text</div>

My main use case or this is to include &nbsp; in the tooltips.

Change History (0)

Note: See TracTickets for help on using tickets.