Page MenuHomePhabricator

<s.whatever> in wikitext causes strikethrough
Closed, ResolvedPublic

Description

It appears that <s.foo> in wikimarkup, where foo is arbitrary text, will cause any text following to be struckthrough. For example, search for 'commit c2e2c2efc1fdf09b126fc8d182a01df6285d9175' on the following page:
https://www.mediawiki.org/wiki/Extension:MobileFrontend/Deployments/2012-10-01

Siebrand's email address is causing all following text to get struckthrough!


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

Details

Reference
bz40670

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 12:53 AM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz40670.

For comparison, browsers (WebKit in this case) allow dots in tag names:

a.innerHTML='<s.foo>test'
a.innerHTML

< "<s.foo>test</s.foo>"

Related Parsoid bug: bug 40671.

  • This bug has been marked as a duplicate of bug 17663 ***

Change 77907 had a related patch set uploaded by Cscott:
Non-word characters don't terminate tag names.

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

  • This bug has been marked as a duplicate of bug 17663 ***