diff options
author | Max Kostikov <max@kostikov.co> | 2018-12-20 20:51:26 +0100 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2018-12-20 20:51:26 +0100 |
commit | 89e734dcca1525fa804343d6ecf5286ce70b05ba (patch) | |
tree | 10d0a3614e9f97f5065ea53fff1c3d5fcd292c16 /include/bbcode.php | |
parent | 3a662555768840d18c6dbba027af644eda54f20e (diff) | |
parent | 090fe394e4733aea9e9ca2e9a93c2c27b266d065 (diff) | |
download | volse-hubzilla-89e734dcca1525fa804343d6ecf5286ce70b05ba.tar.gz volse-hubzilla-89e734dcca1525fa804343d6ecf5286ce70b05ba.tar.bz2 volse-hubzilla-89e734dcca1525fa804343d6ecf5286ce70b05ba.zip |
Merge branch 'dev' into 'dev'
Sync dev
See merge request kostikov/core!1
Diffstat (limited to 'include/bbcode.php')
-rw-r--r-- | include/bbcode.php | 2 |
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); } |