aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2018-12-19 10:14:29 +0100
committerMario <mario@mariovavti.com>2018-12-19 10:14:29 +0100
commit4cbaddf4c44adfd90894788e0a8e7aa5fe2fb3f1 (patch)
tree5a6b223ca70b5fc1a2cdd8878d3d70ce7280591c /include
parent10f1da273669d882732b92641ea367038269e65d (diff)
parent2354bb5427d5d6b384c2e5b0f8fb9e676249e77b (diff)
downloadvolse-hubzilla-4cbaddf4c44adfd90894788e0a8e7aa5fe2fb3f1.tar.gz
volse-hubzilla-4cbaddf4c44adfd90894788e0a8e7aa5fe2fb3f1.tar.bz2
volse-hubzilla-4cbaddf4c44adfd90894788e0a8e7aa5fe2fb3f1.zip
Merge branch 'dark-fix-dev' into 'dev'
fix for dark theme; includes one changes to bbcode.php and redbasic/css/style.css See merge request hubzilla/core!1442
Diffstat (limited to 'include')
-rw-r--r--include/bbcode.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index c5d6ef998..817986da0 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -1021,7 +1021,7 @@ function bbcode($Text, $options = []) {
}
// Check for colored text
if (strpos($Text,'[/hl]') !== false) {
- $Text = preg_replace("(\[hl\](.*?)\[\/hl\])ism", "<span style=\"background-color: yellow;\">$1</span>", $Text);
+ $Text = preg_replace("(\[hl\](.*?)\[\/hl\])ism", "<span class=\"default-highlight\">$1</span>", $Text);
$Text = preg_replace("(\[hl=(.*?)\](.*?)\[\/hl\])ism", "<span style=\"background-color: $1;\">$2</span>", $Text);
}