diff --git a/vendor/Text/Wiki/Parse/Default/Code.php b/vendor/Text/Wiki/Parse/Default/Code.php index 339fa63b8..2a4a46ff3 100644 --- a/vendor/Text/Wiki/Parse/Default/Code.php +++ b/vendor/Text/Wiki/Parse/Default/Code.php @@ -50,7 +50,8 @@ class Text_Wiki_Parse_Code extends Text_Wiki_Parse { */ /* var $regex = '/^(\)\n(.+)\n(\<\/code\>)(\s|$)/Umsi';*/ - var $regex = ';^]*)?>((?:(?R)|.)*?)\n(\s|$);msi'; +/* var $regex = ';^]*)?>((?:(?R)|.)*?)\n(\s|$);msi';*/ + var $regex = ';^]*)?>(.+?)\n(\s|$);msi'; /** *