Project

General

Profile

Actions

Defect #7846

closed

Headers (h1, etc.) containing backslash followed by a digit are not displayed correctly

Added by Etienne Massip over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Text formatting
Target version:
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

Also available in: Atom PDF