includes/wikiengine/parse_mediawiki.php
changeset 1112 679916c80599
parent 1106 01315acbc22b
child 1127 4b858862c35c
--- a/includes/wikiengine/parse_mediawiki.php	Sun Aug 30 00:05:33 2009 -0400
+++ b/includes/wikiengine/parse_mediawiki.php	Fri Sep 11 09:57:42 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;