Page MenuHomePhabricator

VisualEditor: Editing a <syntaxhighlight> block with the experimental generic editor leads to brokenness because the attributes get blanked
Closed, ResolvedPublic


Author: wojciech.r

When I edit existing content in <source> tags, while editing it, error is shown about invalid language specified (lang=) and after saving it puts fragment of HTML code of this tag divs and entities into source of page and my code is broken.

Version: unspecified
Severity: major



Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:03 AM
bzimport set Reference to bz53543.

Change 82063 had a related patch set uploaded by Esanders:
Round trip alien extensions correctly when edited

This fix preserves attributes correctly. The above bug would allow you to edit them.

Change 82063 merged by jenkins-bot:
Round trip alien extensions correctly when edited

This is now fixed in master, and will be released to on Thursday 5 September. Sorry for the disruption.