gPodderShownotesLabel: Double html.escape link titles
This commit is contained in:
parent
542a3a9a2a
commit
52e631bc73
|
@ -525,7 +525,9 @@ class gPodderShownotesLabel(gPodderShownotes):
|
|||
for target, text in util.extract_hyperlinked_text(episode.description_html or episode.description):
|
||||
if target:
|
||||
tesc = html.escape(target)
|
||||
ltext += '<a href="%s" title="%s">%s</a>' % (tesc, tesc, html.escape(text))
|
||||
# Link title really needs a double escape
|
||||
ltext += '<a href="%s" title="%s">%s</a>' % (
|
||||
tesc, html.escape(tesc), html.escape(text))
|
||||
else:
|
||||
ltext += html.escape(text)
|
||||
self.label.set_markup(ltext)
|
||||
|
|
Loading…
Reference in New Issue