Page MenuHomePhabricator

<section> in text content is not nowiki-escaped
Closed, ResolvedPublic

Description

<section> is both an HTML5 tag and an extension tag (labeled section transclusion), but is not nowiki-escaped when entered as text in VE. There seems to be no <source>-like exception in the source yet.

Details

Reference
bz51562

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:11 AM
bzimport added a project: Parsoid.
bzimport set Reference to bz51562.
Arlolra set Security to None.

This is fixed in production, probably a while ago.

@Jdforrester-WMF What's the state of this bug? Is it fixed already?

ssastry claimed this task.
[subbu@earth:~/work/wmf/parsoid] echo "<p>foo &lt;section&gt; bar</p>" | php bin/parse.php --html2wt
foo <nowiki><section> bar</nowiki>