Page MenuHomePhabricator

20 space-characters in front of an image prevent editsections from being edited
Closed, ResolvedPublic

Description

Author: gnu1742

Description:
Take a page with several chapters and an [[Image:someimage]]-link in one line.
Put 20 space-characters in front of the Image-Link and save the page. If you now
klick
on any of the Editsection-Links you will get an empty Edit-Window:
http://de.wikipedia.org/wiki/Benutzer:ElRaki/Test2

With 19 spaces in front of the link, everything works as expected:
http://de.wikipedia.org/wiki/Benutzer:ElRaki/Test3


Version: unspecified
Severity: normal
URL: http://de.wikipedia.org/wiki/Benutzer:ElRaki/Test2

Details

Reference
bz6398

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:22 PM
bzimport set Reference to bz6398.
bzimport added a subscriber: Unknown Object (MLST).

Added parser test case in r14884

This appears to be a bug in the regular-expression parser.
I've worked around it in r14886 by changing the whitespace
reference in the regex.