Page MenuHomePhabricator

Edited transclusion with multiple paragraphs/block elements in a parameter serialised onto one line, breaking semantics when TemplateData missing
Open, MediumPublic

Description

I was trying to edit my user profile page at https://www.mediawiki.org/wiki/User:01tonythomas , using the VisualEditor template edit view, and removed a line from the 'Contact Me' section.

Once I click on save, I see the entire page mis-aligned, with the following change in Gerrit history -

The template then had its TemplateData altered to specify layout as 'block' instead of unset, after which the same edit serialised as expected:

Event Timeline

Jdforrester-WMF renamed this task from Unexpected results while editing User Template to Edited transclusion with multiple paragraphs/block elements in a parameter serialised onto one line, breaking semantics when TemplateData missing.Apr 1 2016, 9:07 AM
Jdforrester-WMF triaged this task as Medium priority.
Jdforrester-WMF added a project: Parsoid.
Jdforrester-WMF updated the task description. (Show Details)

Thank you @Jdforrester-WMF , it looks like the specific issue I had with User template was quickly fixed by editing the template code. Thank you :)

ssastry added subscribers: Deskana, ssastry.

Not sure if there is anything to be done here for Parsoid or VE, but will let @Deskana take a look. Removing the Parsoid tag.