From bdaf619ddab20563a5b4a7bb822af4b681ac69be Mon Sep 17 00:00:00 2001 From: thegentoo Date: Wed, 11 Jul 2012 17:11:08 -0300 Subject: [PATCH] Changed heading markup (changed \s* to [ |\t]*) to fix an issue with it eating line breaks --- inc/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/config.php b/inc/config.php index 866fefae..858f3322 100644 --- a/inc/config.php +++ b/inc/config.php @@ -362,7 +362,7 @@ $config['markup'][] = array("/'''(.+?)'''/", "\$1"); $config['markup'][] = array("/''(.+?)''/", "\$1"); $config['markup'][] = array("/\*\*(.+?)\*\*/", "\$1"); - $config['markup'][] = array("/^\s*==(.+?)==\s*$/m", "\$1"); + $config['markup'][] = array("/^[ |\t]*==(.+?)==[ |\t]*$/m", "\$1"); // Highlight PHP code wrapped in tags (PHP 5.3.0+) // $config['markup'][] = array(