Test whitespace in `wikilinks`.
(self)
| 172 | ) |
| 173 | |
| 174 | def testWikilinkWhitespace(self): |
| 175 | """ Test whitespace in `wikilinks`. """ |
| 176 | self.assertEqual( |
| 177 | self.md.convert('[[ foo bar_baz ]]'), |
| 178 | '<p><a class="wikilink" href="/foo_bar_baz/">foo bar_baz</a></p>' |
| 179 | ) |
| 180 | self.assertEqual( |
| 181 | self.md.convert('foo [[ ]] bar'), |
| 182 | '<p>foo bar</p>' |
| 183 | ) |
| 184 | |
| 185 | def testSimpleSettings(self): |
| 186 | """ Test Simple Settings. """ |