Last modified: 2014-06-10 16:17:19 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T55228, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 53228 - Nowiki tag not properly escaped when combined with other wiki markup
Nowiki tag not properly escaped when combined with other wiki markup
Status: RESOLVED FIXED
Product: Parsoid
Classification: Unclassified
serializer (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: Gabriel Wicke
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-22 18:46 UTC by WhatamIdoing
Modified: 2014-06-10 16:17 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description WhatamIdoing 2013-08-22 18:46:55 UTC
From http://en.wikipedia.org/wiki/Wikipedia:VisualEditor/Feedback#Bold_and_nowiki.2C_other_markup

If you add a nowiki tag by itself, the angle brackets get escaped out (<nowiki>, or does just plain </nowiki> work here at Bugzilla?).  If you add a nowiki tag plus some wikimarkup, like an asterisk at the start of a line or bold text, it doesn't.  This results in unpaired tags, sometimes functional wikimarkup, and always unexpected results.

Try this:

* You need a </nowiki> tag '''here'''.
Comment 1 ssastry 2013-08-22 22:00:18 UTC
This is a Parsoid serializer bug:

[subbu@earth tests] echo '* &lt;/nowiki&gt; tag' | node parse --html2wt
<nowiki>* </nowiki></nowiki> tag
Comment 2 Gerrit Notification Bot 2014-06-05 02:33:57 UTC
Change 137525 had a related patch set uploaded by Arlolra:
Escape nowiki when combined with other wiki markup

https://gerrit.wikimedia.org/r/137525
Comment 3 Gerrit Notification Bot 2014-06-10 16:07:55 UTC
Change 137525 merged by jenkins-bot:
Escape nowiki when combined with other wiki markup

https://gerrit.wikimedia.org/r/137525

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links