mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 06:46:26 +00:00
Fixed wikitext serailizer - extra newlines should be after the list not the list item
This commit is contained in:
parent
f42915ac0f
commit
f9fd3b1db2
|
@ -99,10 +99,10 @@ es.WikitextSerializer.prototype.list = function( node ) {
|
||||||
var childNode = node.children[i];
|
var childNode = node.children[i];
|
||||||
lines.push(
|
lines.push(
|
||||||
convertStyles( childNode.attributes.styles ) + ' ' +
|
convertStyles( childNode.attributes.styles ) + ' ' +
|
||||||
this.document( childNode ) + '\n'
|
this.document( childNode )
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return lines.join( '\n' );
|
return lines.join( '\n' ) + '\n';
|
||||||
};
|
};
|
||||||
|
|
||||||
es.WikitextSerializer.prototype.table = function( node ) {
|
es.WikitextSerializer.prototype.table = function( node ) {
|
||||||
|
|
Loading…
Reference in a new issue