diff --git a/inc/parser/parser.php b/inc/parser/parser.php index b1cae471d339e685fa948f411c3830a0a64bcf83..991031a305b656a7651571a873b11a6e15f56fd9 100644 --- a/inc/parser/parser.php +++ b/inc/parser/parser.php @@ -321,7 +321,7 @@ class Doku_Parser_Mode_formatting extends Doku_Parser_Mode { ), 'emphasis'=> array ( - 'entry'=>'//(?=.*(?<!http:|ftp:)//)', //hack for bug #384 + 'entry'=>'//(?=[^\x00]*[^:]//)', //hack for bug #384 'exit'=>'//', 'sort'=>80 ),