Index: trunk/phase3/tests/parser/parserTests.txt |
— | — | @@ -1426,6 +1426,38 @@ |
1427 | 1427 | !! end |
1428 | 1428 | |
1429 | 1429 | !! test |
| 1430 | +A table with a caption with unclosed italic |
| 1431 | +!! input |
| 1432 | +{| |
| 1433 | +|+ ''caption |
| 1434 | +| Cell |
| 1435 | +|} |
| 1436 | +!! result |
| 1437 | +<table> |
| 1438 | +<caption><i>caption</i></caption> |
| 1439 | +<tr> |
| 1440 | +<td>Cell</td> |
| 1441 | +</tr> |
| 1442 | +</table> |
| 1443 | + |
| 1444 | +!! end |
| 1445 | + |
| 1446 | +!! test |
| 1447 | +A table with unclosed italic in a cell |
| 1448 | +!! input |
| 1449 | +{| |
| 1450 | +| ''Cell |
| 1451 | +|} |
| 1452 | +!! result |
| 1453 | +<table> |
| 1454 | +<tr> |
| 1455 | +<td><i>Cell</i></td> |
| 1456 | +</tr> |
| 1457 | +</table> |
| 1458 | + |
| 1459 | +!! end |
| 1460 | + |
| 1461 | +!! test |
1430 | 1462 | Table security: embedded pipes (http://lists.wikimedia.org/mailman/htdig/wikitech-l/2006-April/022293.html) |
1431 | 1463 | !! input |
1432 | 1464 | {| |