Edgewall Software

Opened 5 years ago

Last modified 5 years ago

#614 new defect

Markup doesn't work in attributes — at Version 1

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&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 (1)

comment:1 Changed 5 years ago by rjollos

  • Description modified (diff)
Note: See TracTickets for help on using tickets.