Page MenuHomePhabricator

Parsoid: Serializer duplicates text when dealing with things that look like <pre> tags (e.g. <President>)
Closed, ResolvedPublic

Description

$ echo 'Barack Obama &lt;President&gt;' | node js/tests/parse.js --html2wt

Barack Obama <nowiki><President>ident></nowiki>

Note the duplication of 'ident>'. This happens for '<President>' as well as '<president>', '<Pre sident>' and '<pre sident>'.


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=57650

Details

Reference
bz57649

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:23 AM
bzimport set Reference to bz57649.

If bug 57650 is fixed, this might get fixed as well.

I don't see this any more:

echo 'Barack Obama &lt;President&gt;' | node parse --html2wt
Barack Obama <nowiki><President></nowiki>

echo 'Barack Obama &lt;President&gt;' | node parse --wt2wt
Barack Obama &lt;President&gt;

Can you verify that this is still an issue?

This was likely fixed by fix for bug 57650.