Forgot to add dl as a sublist type

Change-Id: Ie04904ffdaf20402dbb22ebe96bcaf2db9ea8b8a
This commit is contained in:
Catrope 2012-06-15 00:07:09 -07:00
parent a4589106ec
commit 0be0ebf4a8

View file

@ -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