diff options
author | phani00 <phani00@gmail.com> | 2018-12-18 11:37:51 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2018-12-22 19:54:11 +0100 |
commit | 4d47b098e5f643b985f53309815d0f27f8933d51 (patch) | |
tree | dc8124803680560eb3e389a9a19dda3c3e00f859 /include | |
parent | 163754a46ccf81bfd22fa53751e875751130aeed (diff) | |
download | volse-hubzilla-4d47b098e5f643b985f53309815d0f27f8933d51.tar.gz volse-hubzilla-4d47b098e5f643b985f53309815d0f27f8933d51.tar.bz2 volse-hubzilla-4d47b098e5f643b985f53309815d0f27f8933d51.zip |
remove some fancy formatting.
(cherry picked from commit aaab905e726c126a36453f4ae08c39c3045bf412)
Diffstat (limited to 'include')
-rw-r--r-- | include/bbcode.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php index a0d41ccf0..817986da0 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -1022,7 +1022,6 @@ function bbcode($Text, $options = []) { // Check for colored text if (strpos($Text,'[/hl]') !== false) { $Text = preg_replace("(\[hl\](.*?)\[\/hl\])ism", "<span class=\"default-highlight\">$1</span>", $Text); -// $Text = preg_replace("(\[hl\](.*?)\[\/hl\])ism", "<span style=\"background-color: yellow;\">$1</span>", $Text); $Text = preg_replace("(\[hl=(.*?)\](.*?)\[\/hl\])ism", "<span style=\"background-color: $1;\">$2</span>", $Text); } |