Page MenuHomePhabricator

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

Description

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

<p>Foo</p><p>Bar</p><p></p>

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

Details

Reference
bz46799

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: https://gerrit.wikimedia.org/r/#/c/61048/ 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.