includes/wikiengine/parse_mediawiki.php
changeset 1106 01315acbc22b
parent 1081 745200a9cc2a
child 1127 4b858862c35c
--- a/includes/wikiengine/parse_mediawiki.php	Wed Aug 26 13:04:55 2009 -0400
+++ b/includes/wikiengine/parse_mediawiki.php	Wed Aug 26 13:05:17 2009 -0400
@@ -18,7 +18,8 @@
     'italic' => "/''(.+?)''/",
     'underline' => '/__(.+?)__/',
     'externalwithtext' => '#\[((?:https?|irc|ftp)://.+?) (.+?)\]#',
-    'externalnotext' => '#\[((?:https?|irc|ftp)://.+?)\]#'
+    'externalnotext' => '#\[((?:https?|irc|ftp)://.+?)\]#',
+    'hr' => '/^[-]{4,} *$/m'
   );
   
   private $blockquote_rand_id;