https://bugzilla.wikimedia.org/show_bug.cgi?id=32617
--- Comment #1 from Dan Collins <[email protected]> 2011-11-25 00:46:28 UTC --- Created attachment 9552 --> https://bugzilla.wikimedia.org/attachment.cgi?id=9552 Patch that changes the regex mode. The problem isn't necessarily only present in section zero - rather whenever there is a malformed section link. Since we're editing a section, we only care about section headers at the beginning of the current text we're editing, so I've changed the regex that looks for them from /m to /s, which causes the ^ to match the beginning of the string and not simply the beginning of the line. Patch is attached, causes no new unit test failures. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
