Page MenuHomePhabricator

Parsoid considers template-affected content with a space between it and the template to be space-<pre>'ed
Closed, ResolvedPublic

Description

See https://en.wikipedia.org/wiki/Taiko?veaction=edit

Probably because it starts with a template. Not sure, I haven't looked at other pages.

Event Timeline

Glaisher raised the priority of this task from to Needs Triage.
Glaisher updated the task description. (Show Details)
Glaisher added a project: VisualEditor.
Glaisher subscribed.
Jdforrester-WMF renamed this task from VE breaks rendering when the lead is started by a template to Parsoid considers template-affected content with a space between it and the template to be space-<pre>'ed.Apr 29 2015, 7:47 PM
Jdforrester-WMF triaged this task as Medium priority.
Jdforrester-WMF added a project: Parsoid.
Jdforrester-WMF set Security to None.

PHP parser and Parsoid behavior difference on https://en.wikipedia.org/wiki/User:SSastry_%28WMF%29/Category_Test explains what is going on here. Look at the wikitext for that page, and then inspect the HTML .

A little baffling wrt the newlines .. but, I suppose a lot of pages out there probably now depend on that behavior so we may have to fix it in Parsoid.

This is now fixed in Parsoid master. This will probably be in production next week.

ssastry claimed this task.