test/testcases.rb in minad-creole-0.3.1 vs test/testcases.rb in minad-creole-0.3.2
- old
+ new
@@ -444,9 +444,11 @@
tc "<table><tr><td>c1</td><td>c2|</td></tr></table>", "|c1|c2~|"
tc "<table><tr><td>c1</td><td>c2|</td></tr></table>", "|c1|c2~||"
tc "<table><tr><td>c1</td><td>c2|</td><td></td></tr></table>", "|c1|c2~|||"
# Equal sign after pipe make a header
tc "<table><tr><th>Header</th></tr></table>", "|=Header|"
+
+ tc "<table><tr><td>c1</td><td><a href=\"Link\">Link text</a></td><td><img src=\"Image\" alt=\"Image text\"/></td></tr></table>", "|c1|[[Link|Link text]]|{{Image|Image text}}|"
end
def test_following_table
# table followed by heading
tc("<table><tr><td>table</td></tr></table><h1>heading</h1>", "|table|\n=heading=\n")