Changed heading markup (changed \s* to [ |\t]*) to fix an issue with it eating line breaks
This commit is contained in:
parent
ebc4ba31b7
commit
bdaf619dda
@ -362,7 +362,7 @@
|
||||
$config['markup'][] = array("/'''(.+?)'''/", "<strong>\$1</strong>");
|
||||
$config['markup'][] = array("/''(.+?)''/", "<em>\$1</em>");
|
||||
$config['markup'][] = array("/\*\*(.+?)\*\*/", "<span class=\"spoiler\">\$1</span>");
|
||||
$config['markup'][] = array("/^\s*==(.+?)==\s*$/m", "<span class=\"heading\">\$1</span>");
|
||||
$config['markup'][] = array("/^[ |\t]*==(.+?)==[ |\t]*$/m", "<span class=\"heading\">\$1</span>");
|
||||
|
||||
// Highlight PHP code wrapped in <code> tags (PHP 5.3.0+)
|
||||
// $config['markup'][] = array(
|
||||
|
Loading…
Reference in New Issue
Block a user