mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 16:20:52 +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];
|
||||
lines.push(
|
||||
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 ) {
|
||||
|
|
Loading…
Reference in a new issue