mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-01 01:16:30 +00:00
Forgot to add dl as a sublist type
Change-Id: Ie04904ffdaf20402dbb22ebe96bcaf2db9ea8b8a
This commit is contained in:
parent
a4589106ec
commit
0be0ebf4a8
|
@ -554,7 +554,7 @@ ve.dm.Converter.prototype.getDomFromData = function( data ) {
|
|||
// HACK: do postprocessing on the data to work around bugs in Parsoid concerning paragraphs
|
||||
// inside list items
|
||||
$( container ).find( 'li, dd, dt' ).each( function() {
|
||||
var $sublists = $(this).children( 'ul, ol' ),
|
||||
var $sublists = $(this).children( 'ul, ol, dl' ),
|
||||
$firstChild = $(this.firstChild);
|
||||
if ( $firstChild.is( 'p' ) ) {
|
||||
// Unwrap the first paragraph, unless it has stx=html
|
||||
|
|
Loading…
Reference in a new issue