Merge pull request #56 from thegentoo/master

Heading format fix
This commit is contained in:
Michael 2012-07-13 01:26:24 -07:00
commit be16a41aec
2 changed files with 2 additions and 2 deletions

View File

@ -362,7 +362,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(

View File

@ -263,11 +263,11 @@ span.heading {
color: #AF0A0F; color: #AF0A0F;
font-size: 11pt; font-size: 11pt;
font-weight: bold; font-weight: bold;
display: block;
} }
span.spoiler { span.spoiler {
background: black; background: black;
color: black; color: black;
padding: 0px 1px;
} }
div.post.reply p.body span.spoiler a { div.post.reply p.body span.spoiler a {
color: black; color: black;