summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael <savetheinternet@omegasdg.com>2012-07-13 01:26:24 -0700
committerMichael <savetheinternet@omegasdg.com>2012-07-13 01:26:24 -0700
commitbe16a41aec2d1825c7e2d004abb41467e237bce7 (patch)
tree53eeb725ea34836b2154ec1b65a125fb51342e70
parent1dcb385e9e3791d2d3c1d049fe9b8d906539088e (diff)
parent7293ef58aae9643beae84c02743992d780e0f36f (diff)
Merge pull request #56 from thegentoo/master
Heading format fix
-rw-r--r--inc/config.php2
-rw-r--r--stylesheets/style.css2
2 files changed, 2 insertions, 2 deletions
diff --git a/inc/config.php b/inc/config.php
index 866fefae..858f3322 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -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(
diff --git a/stylesheets/style.css b/stylesheets/style.css
index a262eb35..5d7ebad4 100644
--- a/stylesheets/style.css
+++ b/stylesheets/style.css
@@ -263,11 +263,11 @@ span.heading {
color: #AF0A0F;
font-size: 11pt;
font-weight: bold;
- display: block;
}
span.spoiler {
background: black;
color: black;
+ padding: 0px 1px;
}
div.post.reply p.body span.spoiler a {
color: black;