Headers (h1, etc.) containing backslash followed by a digit are not displayed correctly
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).
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.
#3 Updated by Etienne Massip almost 9 years ago
- File textile_header_with_backslash_and_digit.patch added
- Subject changed from Wiki page titles containing backslash followed by a digit are not displayed correctly to Headers (h1, etc.) containing backslash followed by a digit are not displayed correctly
- Category changed from Wiki to Text formatting
Here's the patch with test.