Page MenuHomePhabricator

VisualEditor: Inserting content at start/end of paragraph leaves leading/trailing empty paragraph
Closed, ResolvedPublic


e.g. inserting a <p>Bar</p> into <p>Foo</p> after the last 'o' results in:


The original paragraph is split, then the Bar is inserted, then the paragraph is reopened again.

Or in transaction terms:

insert: '<p>Bar</p>'

coverts to

insert: </p><p>Bar</p><p>'

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:36 AM
bzimport set Reference to bz46799.

For some reason the bug isn't reporting this: addresses this and is waiting for jenkins-bot to merge it.

Gerrit 61048 is now merged; marking as fixed - will go out in Monday's deploy train.