Page MenuHomePhabricator

Parsoid should nowiki-escape '}' in a table cell or insert a whitespace character, as appropriate
Closed, ResolvedPublic

Description

While a - is well embeded in a nowiki anchor when a table cell is created with - as only content, that is not the case when a cell is created with only }. The resulting code will be a |} at the beggining of the line wich will end the table.

Event Timeline

ssastry renamed this task from [VisualEditor:] Creating a cell table with a single `}` create misparsed table to Parsoid should nowiki-escape '}' in a table cell or insert a whitespace character, as appropriate.Nov 1 2018, 3:59 AM
ssastry triaged this task as Medium priority.

Change 472379 had a related patch set uploaded (by Subramanya Sastry; owner: Subramanya Sastry):
[mediawiki/services/parsoid@master] html2wt: Handle } in table cells properly

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

Change 472379 merged by jenkins-bot:
[mediawiki/services/parsoid@master] html2wt: Handle } in table cells properly

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