Skip to content
This repository was archived by the owner on Sep 24, 2022. It is now read-only.

Commit d1ad605

Browse files
committed
Escape a # while in /x mode.
1 parent b7d1984 commit d1ad605

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Text/Wiki/Parse/Default/Anchor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class Text_Wiki_Parse_Anchor extends Text_Wiki_Parse {
4646
*
4747
*/
4848
public $regex = '/' .
49-
'(\[\[#\s)' . # Two brackets, then hash
49+
'(\[\[\#\s)' . # Two brackets, then hash
5050
'([-_A-Za-z0-9.%]+?)' . # Contents of anchor
5151
'(\]\])' . # Closing brackets
5252
'/ix';

0 commit comments

Comments
 (0)