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

bzimport added a project: Parsoid.Via ConduitNov 22 2014, 1:56 AM
bzimport set Reference to bz54262.
SalixAlba created this task.Via LegacySep 18 2013, 8:43 AM
Esanders added a comment.Via ConduitOct 7 2013, 2:48 PM

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

converts to

FooBar

which appears to be the problem

GWicke added a comment.Via ConduitOct 11 2013, 8:34 PM

Is data-parsoid copied as well?

gerritbot added a comment.Via ConduitOct 11 2013, 11:04 PM

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

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

GWicke added a comment.Via ConduitOct 11 2013, 11:07 PM

(In reply to comment #2)

Is data-parsoid copied as well?

Never mind, the title had that info.

gerritbot added a comment.Via ConduitOct 11 2013, 11:47 PM

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

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

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.