From 9f4fd8e44551448a73badedb89ead9ad004c1443 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 75475a9a..cd5896fc 100644 --- a/inc/config.php +++ b/inc/config.php @@ -361,7 +361,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(