r92176 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92175‎ | r92176 | r92177 >
Date:18:36, 14 July 2011
Author:brion
Status:ok
Tags:
Comment:
ParserPlayground: round-tripping fix for line breaks between paras
Modified paths:
  • /trunk/extensions/ParserPlayground/modules/ext.parserPlayground.serializer.js (modified) (history)

Diff [purge]

Index: trunk/extensions/ParserPlayground/modules/ext.parserPlayground.serializer.js
@@ -42,7 +42,7 @@
4343 // A single-line paragraph.
4444 src = subParseArray(tree.content) + '\n';
4545 break;
46 - case 'break':
 46+ case 'br':
4747 src = '\n';
4848 break;
4949 case 'text':

Status & tagging log