1
0
mirror of synced 2025-01-17 22:11:41 +03:00

Fixed a bug in Text_Wiki that caused some of the doc pages not to show up.

This commit is contained in:
jepso 2007-06-14 11:10:17 +00:00
parent a53d19a49f
commit b9957ee870

View File

@ -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';
/**
*