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

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:

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 1 2016, 8:48 AM
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 Normal 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 :)