()
| 147 | |
| 148 | |
| 149 | def test_markup_error(): |
| 150 | with pytest.raises(MarkupError): |
| 151 | assert render("foo[/]") |
| 152 | with pytest.raises(MarkupError): |
| 153 | assert render("foo[/bar]") |
| 154 | with pytest.raises(MarkupError): |
| 155 | assert render("[foo]hello[/bar]") |
| 156 | |
| 157 | |
| 158 | def test_markup_escape(): |