Page MenuHomePhabricator

Parsoid: mw:Entity not preserved if data-parsoid missing
Closed, ResolvedPublic

Description

Edit a page with One Two which displays as One Two. Select the entire text, copy, past at end of the string. Displays in VE fine at first. Saving however produces One TwoOneTwo which displays as One TwoOneTwo.

Originally from
http://en.wikipedia.org/w/index.php?title=Wikipedia:VisualEditor/Feedback&curid=37904286&diff=573462315&oldid=573461696


Version: unspecified
Severity: normal

Details

Reference
bz54262

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:56 AM
bzimport added a project: Parsoid.
bzimport set Reference to bz54262.

<p>Foo<span typeof="mw:Entity">&nbsp;</span>Bar</p>

converts to

FooBar

which appears to be the problem

Is data-parsoid copied as well?

Change 89356 had a related patch set uploaded by GWicke:
Bug 54262: Serialize new entity to its contents

https://gerrit.wikimedia.org/r/89356

(In reply to comment #2)

Is data-parsoid copied as well?

Never mind, the title had that info.

Change 89356 merged by jenkins-bot:
Bug 54262: Serialize new entity to its contents

https://gerrit.wikimedia.org/r/89356