aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorphani00 <phani00@gmail.com>2018-12-18 12:37:51 +0100
committerphani00 <phani00@gmail.com>2018-12-18 12:37:51 +0100
commitaaab905e726c126a36453f4ae08c39c3045bf412 (patch)
tree5f57860140ac9e57675977dca7584f2eb83e837d /include
parentaace8a14cee2f173b7a11bb2bfcbcebbe0084863 (diff)
downloadvolse-hubzilla-aaab905e726c126a36453f4ae08c39c3045bf412.tar.gz
volse-hubzilla-aaab905e726c126a36453f4ae08c39c3045bf412.tar.bz2
volse-hubzilla-aaab905e726c126a36453f4ae08c39c3045bf412.zip
remove some fancy formatting.
Diffstat (limited to 'include')
-rw-r--r--include/bbcode.php1
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);
}