Last modified: 2013-04-26 23:54:10 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T48799, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46799 - VisualEditor: Inserting content at start/end of paragraph leaves leading/trailing empty paragraph
VisualEditor: Inserting content at start/end of paragraph leaves leading/trai...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
Data Model (Other open bugs)
unspecified
All All
: High normal
: VE-deploy-2013-04-29
Assigned To: Ed Sanders
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-02 17:24 UTC by Ed Sanders
Modified: 2013-04-26 23:54 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Ed Sanders 2013-04-02 17:24:15 UTC
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>'
Comment 1 Roan Kattouw 2013-04-26 22:51:50 UTC
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.
Comment 2 James Forrester 2013-04-26 23:54:10 UTC
Gerrit change #61048 is now merged; marking as fixed - will go out in Monday's deploy train.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links