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(