Page MenuHomePhabricator

Closing tags of DT and DT are escaped as HTML entities
Closed, ResolvedPublic

Description

Author: frescard

Description:
Repro template

If I use HTML DT or DD tags in a template, they will be shown as cleartext.

e.g.
<dl>
<dt>'''A little thank you...'''</dt>
<dd>for {{{1}}}.</dd>
<dd>hugs, {{{2}}}</dd>
</dl>

will appear as
A little thank you...</dt>

for {{{1}}}.</dd> 
hugs, {{{2}}}</dd>

if used with
{{Thankyou|all your hard work|Joe}}


Version: 1.20.x
Severity: normal
OS: Windows 7
Platform: Other
URL: 11748

Attached:

Details

Reference
bz24320

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:04 PM
bzimport set Reference to bz24320.
bzimport added a subscriber: Unknown Object (MLST).

</dt> and </dd> got escaped into HTML entities:

Wikitext:
<dl>
<dt>Topic</dt>
<dd>description</dd>
</dl>

Generates:
<p><dl>
<dt>Topic&lt;/dt&gt;
<dd>description&lt;/dd&gt;
</dl>
</p>

Reported again on 1.17, tested still to be an issue as of 1.20alpha (3d855c1)

  • Bug 25132 has been marked as a duplicate of this bug. ***

wicke wrote:

*** This bug has been marked as a duplicate of bug 11748 ***