From 799237baf40eb51061388e325543e64ccb3d21cb Mon Sep 17 00:00:00 2001 From: thegentoo Date: Wed, 11 Jul 2012 16:10:53 -0300 Subject: [PATCH 1/3] Added 1px spacing to spoiler tags (fixes issue with some characters clipping out of the spoiler). --- stylesheets/style.css | 1 + 1 file changed, 1 insertion(+) diff --git a/stylesheets/style.css b/stylesheets/style.css index a262eb35..84d2b897 100644 --- a/stylesheets/style.css +++ b/stylesheets/style.css @@ -268,6 +268,7 @@ span.heading { span.spoiler { background: black; color: black; + padding: 0px 1px; } div.post.reply p.body span.spoiler a { color: black; From ebc4ba31b728ca917a49d7149fa508464fd1c2b0 Mon Sep 17 00:00:00 2001 From: thegentoo Date: Wed, 11 Jul 2012 16:14:33 -0300 Subject: [PATCH 2/3] Removed display:block; from span.heading --- stylesheets/style.css | 1 - 1 file changed, 1 deletion(-) diff --git a/stylesheets/style.css b/stylesheets/style.css index a262eb35..99260fa1 100644 --- a/stylesheets/style.css +++ b/stylesheets/style.css @@ -263,7 +263,6 @@ span.heading { color: #AF0A0F; font-size: 11pt; font-weight: bold; - display: block; } span.spoiler { background: black; From bdaf619ddab20563a5b4a7bb822af4b681ac69be Mon Sep 17 00:00:00 2001 From: thegentoo Date: Wed, 11 Jul 2012 17:11:08 -0300 Subject: [PATCH 3/3] Changed heading markup (changed \s* to [ |\t]*) to fix an issue with it eating line breaks --- inc/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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("/'''(.+?)'''/", "\$1"); $config['markup'][] = array("/''(.+?)''/", "\$1"); $config['markup'][] = array("/\*\*(.+?)\*\*/", "\$1"); - $config['markup'][] = array("/^\s*==(.+?)==\s*$/m", "\$1"); + $config['markup'][] = array("/^[ |\t]*==(.+?)==[ |\t]*$/m", "\$1"); // Highlight PHP code wrapped in tags (PHP 5.3.0+) // $config['markup'][] = array(