Last modified: 2013-03-15 18:48:30 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 T47710, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 45710 - VisualEditor: split paragraphs in a listItem should not be considered 'wrapper' paragraphs
VisualEditor: split paragraphs in a listItem should not be considered 'wrappe...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
Data Model (Other open bugs)
unspecified
All All
: Normal normal
: VE-deploy-2013-03-18
Assigned To: Ed Sanders
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-04 17:28 UTC by Ed Sanders
Modified: 2013-03-15 18:48 UTC (History)
3 users (show)

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


Attachments

Description Ed Sanders 2013-03-04 17:28:35 UTC
Start a list item and type 'a', now hit shift-enter and type b.

Expected diff:
*a<p>b</p>

Actual diff:
*ab

The paragraph created when you create the list has internal.generated = 'wrapper'. This property gets copied when you split the list. Two wrapper paragraphs next to each other apparently get merged into one.

The only way wikitext can have two paragraphs in a list is with HTML so extra paragraphs must be full HTML paragraphs.
Comment 1 Ed Sanders 2013-03-15 18:48:30 UTC
Fixed by https://gerrit.wikimedia.org/r/#/c/52046/

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


Navigation
Links