r86010 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86009‎ | r86010 | r86011 >
Date:23:36, 13 April 2011
Author:platonides
Status:ok
Tags:
Comment:
Another evil test to join r86004 (didn't produce malformed output in the pre-r85922 parser)
Modified paths:
  • /trunk/phase3/tests/parser/parserTests.txt (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/parser/parserTests.txt
@@ -1461,6 +1461,24 @@
14621462 !! end
14631463
14641464 !! test
 1465+A table with unclosed italic in a th
 1466+!! input
 1467+{|
 1468+|-
 1469+! ''Cell
 1470+|| Value
 1471+|}
 1472+!! result
 1473+<table>
 1474+<tr>
 1475+<th><i>Cell</i></th>
 1476+<td>Value</td>
 1477+</tr>
 1478+</table>
 1479+
 1480+!! end
 1481+
 1482+!! test
14651483 Table security: embedded pipes (http://lists.wikimedia.org/mailman/htdig/wikitech-l/2006-April/022293.html)
14661484 !! input
14671485 {|

Follow-up revisions

RevisionCommit summaryAuthorDate
r86013Move </td> and </th> to its own line (unless it's an empty cell)...platonides23:50, 13 April 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r85922diebuche21:27, 12 April 2011
r86004Add a couple of broken tests showing why having the table closing tags in the...platonides23:16, 13 April 2011

Status & tagging log