https://bugzilla.wikimedia.org/show_bug.cgi?id=23393

Bartosz Dziewoński <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
            Version|unspecified                 |1.21-git

--- Comment #1 from Bartosz Dziewoński <[email protected]> ---
Still happening. It is actually not displayed in the TOC at all.

This is probably caused by the regex used to match headings in Parser.php:

    /<H(?P<level>[1-6])(?P<attrib>.*?'.'>)(?P<header>.*?)<\/H[1-6] *>/i

The dot in '.*?' will match all characters except a newline. It should be
changed to [\s\S], or we could add a 's' at the end.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to