diff options
| author | thegentoo <thegent.4chon@gmail.com> | 2012-07-11 17:11:08 -0300 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-07-13 10:58:42 +0200 |
| commit | 9f4fd8e44551448a73badedb89ead9ad004c1443 (patch) | |
| tree | 731b577bdddb7373c682a8596403d88666ab5573 /inc/config.php | |
| parent | 06c293217d167e80cef8252eea0d6dd04a1f552f (diff) | |
Changed heading markup (changed \s* to [ |\t]*) to fix an issue with it eating line breaks
Diffstat (limited to 'inc/config.php')
| -rw-r--r-- | inc/config.php | 2 |
1 files changed, 1 insertions, 1 deletions
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("/'''(.+?)'''/", "<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( |
