Last modified: 2012-11-17 06:32:57 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 T43905, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41905 - VisualEditor: Parsoid is sent text outside of any node for the first line of a new article
VisualEditor: Parsoid is sent text outside of any node for the first line of ...
Status: RESOLVED DUPLICATE of bug 42121
Product: VisualEditor
Classification: Unclassified
Data Model (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks: 41948
  Show dependency treegraph
 
Reported: 2012-11-09 00:20 UTC by Mark Holmquist
Modified: 2012-11-17 06:32 UTC (History)
4 users (show)

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


Attachments

Description Mark Holmquist 2012-11-09 00:20:23 UTC
Steps to repro:

1. Open new page in VE.

2. Click on first line, enter text, enter newline, enter more text.

3. Click save.

Expected behavior: Two paragraphs.

Actual behavior: One paragraph with a single line break where there should be two.

Tested locally and found that Parsoid's web service gets the DOM as something like "First line<p>Second line</p>", which it can't handle correctly (the fix breaks many other parser tests).
Comment 1 James Forrester 2012-11-17 06:32:01 UTC
Fixed by Roan in between filing and now - Parsoid now receives "<p data-parsoid="{&quot;dsr&quot;:[0,23]}">First line</p><p data-parsoid="{&quot;dsr&quot;:[0,23]}">Second line</p>".
Comment 2 James Forrester 2012-11-17 06:32:57 UTC

*** This bug has been marked as a duplicate of bug 42121 ***

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


Navigation
Links