id summary reporter owner description type status priority milestone component version severity resolution keywords cc branch changelog apichanges internalchanges 1727 Wiki formatting fails when using colon PBruin Jonas Borgström "The following unit test I added to demonstrate the problem fails while it should pass: {{{ Index: tests/wiki-tests.txt =================================================================== --- tests/wiki-tests.txt (revision 1864) +++ tests/wiki-tests.txt (working copy) @@ -346,6 +346,18 @@ one, two, three, four
============================== +'''Note''' +------------------------------ ++Note +
+============================== +'''Note:''' +------------------------------ ++Note: +
+============================== __~~underlineoversrike~~__ ------------------------------}}} This is the output from the test: {{{ ====================================================================== FAIL: Testing WikiFormatter ---------------------------------------------------------------------- Traceback (most recent call last): File ""C:\Python\trac.trunk\trac\wiki\tests\formatter.py"", line 69, in test self.assertEquals(self.correct, v) File ""C:\Python23\Lib\unittest.py"", line 302, in failUnlessEqual raise self.failureException, \ AssertionError: '
\nNote:\n
\n' != ""\nNote:'''\n
\n"" ---------------------------------------------------------------------- Ran 292 tests in 17.047s FAILED (failures=1) }}} My example is bold but the same counts for italic." defect closed high 0.9 wiki system devel normal fixed peter.bruin@…