Fixed a bug in Text_Wiki that caused some of the doc pages not to show up.
This commit is contained in:
parent
a53d19a49f
commit
b9957ee870
3
vendor/Text/Wiki/Parse/Default/Code.php
vendored
3
vendor/Text/Wiki/Parse/Default/Code.php
vendored
@ -50,7 +50,8 @@ class Text_Wiki_Parse_Code extends Text_Wiki_Parse {
|
||||
*/
|
||||
|
||||
/* var $regex = '/^(\<code( .+)?\>)\n(.+)\n(\<\/code\>)(\s|$)/Umsi';*/
|
||||
var $regex = ';^<code(\s[^>]*)?>((?:(?R)|.)*?)\n</code>(\s|$);msi';
|
||||
/* var $regex = ';^<code(\s[^>]*)?>((?:(?R)|.)*?)\n</code>(\s|$);msi';*/
|
||||
var $regex = ';^<code(\s[^>]*)?>(.+?)\n</code>(\s|$);msi';
|
||||
|
||||
/**
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user