Page MenuHomePhabricator

Single quote inside triple quote bold (''') parsing error
Closed, DeclinedPublic

Description

I expect ''''blah'''' to be rendered as <b>'blah'<b/> while it is rendered as '<b>blah'</b> so either I should change my expectations (!) or we should touch the parser :p


Version: 1.12.x
Severity: trivial

Details

Reference
bz13227

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:06 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz13227.
bzimport added a subscriber: Unknown Object (MLST).

The last guy who ventured in to Parser::doAllQuotes() was not seen again for three weeks, assumed by his loved ones to have met his doom in the teeth of a hungry pair of angle brackets. He came out alive, but he still has terrifying flashbacks, years later. So changing your expectations might be easier.

adrian.a.archer wrote:

Updated summary, changed Severity to 'trivial'

So what's the expected markup for Huji's expected result? '''<nowiki>'blah'</nowiki>''' ?

FWIW, Parsoid is bug-compatible with the PHP parser in this case, so any proposed change would have to be in both places.

Huh. I think fixing this would be straightforward. Would it break a bunch of content if I did?