Actions
Defect #7846
closedHeaders (h1, etc.) containing backslash followed by a digit are not displayed correctly
Start date:
2011-03-12
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
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.
Files
Actions