Vote #69458
完了Headers (h1, etc.) containing backslash followed by a digit are not displayed correctly
0%
説明
Wiki page titles containing backslashes followed by a digit are not rendered properly because of the way @String.gsub@ handles specifically this sequence with Ruby 1.8 (1.9 changed this behavior).
From Ruby @String.gsub@ doc :
However, the sequences \1, \2, and so on may be used to interpolate successive groups in the match.
I made a patch.
journals
Would be nice to add a test to @TextileFormatterTest@.
--------------------------------------------------------------------------------
I'll do so.
--------------------------------------------------------------------------------
Here's the patch with test.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Patch applied in r5100, thanks. Just fixed the space before parenthesis in @#assert_html_output@.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------