Fix regression from r39373: * marks were changed to *? , which broke the colon in...
[lhc/web/wiklou.git] / includes / Linker.php
index 7a7cb17..3485889 100644 (file)
@@ -1188,7 +1188,7 @@ class Linker {
                $this->autocommentTitle = $title;
                $this->autocommentLocal = $local;
                $comment = preg_replace_callback(
-                       '!(.*?)/\*\s*(.*?)\s*\*/(.*?)!',
+                       '!(.*)/\*\s*(.*?)\s*\*/(.*)!',
                        array( $this, 'formatAutocommentsCallback' ),
                        $comment );
                unset( $this->autocommentTitle );