Page MenuHomePhabricator

Newline character should have double quotes around it
Closed, ResolvedPublic


Author: dotcom

In Parser.php at line 2227 (1.6.7) / 2307 (1.7-svn), there is a newline
character (\n) with single quotes around it, when it should be double quotes.
The single quotes cause it to be interpreted as a literal backslash-n, and thus
the expression that depends on it always returns false, when it should return
true if it finds a newline.

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:16 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz6415.
bzimport added a subscriber: Unknown Object (MLST).

dotcom wrote:

changes single quotes to double quotes as described

This patch fixes both REL1_6 and 1.7-svn.


Commited in trunk (r14944) and 1.6 (r14945)