Apply <p> tag workaround to <dd> and <dt> too

Change-Id: Ie639c8fd740adc8d9fa26d61ebae2716e41eb2ba
This commit is contained in:
Catrope 2012-06-14 22:44:51 -07:00
parent 37a1bf7cc8
commit 13c44dd336

View file

@ -544,7 +544,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' ).each( function() {
$( container ).find( 'li, dd, dt' ).each( function() {
var $sublists = $(this).children( 'ul, ol' ),
$firstChild = $(this.firstChild);
if ( $firstChild.is( 'p' ) ) {