Commit b9957ee8 authored by jepso's avatar jepso

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

parent a53d19a4
......@@ -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';
/**
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment