r104845 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104844‎ | r104845 | r104846 >
Date:11:47, 1 December 2011
Author:gwicke
Status:deferred
Tags:
Comment:
Make whitelist usage an option; tweak comment a bit
Modified paths:
  • /trunk/extensions/VisualEditor/tests/parser/parserTests-whitelist.js (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/tests/parser/parserTests-whitelist.js
@@ -4,8 +4,8 @@
55
66 testWhiteList = {};
77
8 -// The order of li/b is swapped in this test, but the resulting formatting is
9 -// identical
 8+// The nesting of italic/bold tags is changed in this test, but the resulting
 9+// formatting is identical
1010 testWhiteList['Italics and bold'] = "<ul><li> plain</li><li> plain<i>italic</i>plain</li><li> plain<i>italic</i>plain<i>italic</i>plain</li><li> plain<b>bold</b>plain</li><li> plain<b>bold</b>plain<b>bold</b>plain</li><li> plain<i>italic</i>plain<b>bold</b>plain</li><li> plain<b>bold</b>plain<i>italic</i>plain</li><li> plain<i>italic<b>bold-italic</b>italic</i>plain</li><li> plain<b>bold<i>bold-italic</i>bold</b>plain</li><li> plain<i><b>bold-italic</b>italic</i>plain</li><li> plain<i><b>bold-italic</b></i><b>bold</b>plain</li><li> plain<i>italic<b>bold-italic</b></i>plain</li><li> plain<b>bold<i>bold-italic</i></b>plain</li><li> plain l'<i>italic</i>plain</li><li> plain l'<b>bold</b> plain</li></ul>";
1111
1212 if (typeof module == "object") {

Follow-up revisions

RevisionCommit summaryAuthorDate
r104846Follow-up to r104845: s/args/argvgwicke12:10, 1 December 2011

Status & tagging log