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