aboutsummaryrefslogtreecommitdiffstats
path: root/include/bbcode.php
diff options
context:
space:
mode:
authorMichael Meer <michael@meer.name>2014-01-29 14:07:25 +0100
committerMichael Meer <michael@meer.name>2014-01-29 14:07:25 +0100
commitac8d481a3223335050a7f8dfe1c893a0b301ae7b (patch)
treec5461820ba181db4258bcf524c42f3fac982e454 /include/bbcode.php
parentaa285b83c1c8f674be8f200d4feae6299eafc436 (diff)
parenta1e7c65d51a6472cf7fe95686883f77953d7dfd7 (diff)
downloadvolse-hubzilla-ac8d481a3223335050a7f8dfe1c893a0b301ae7b.tar.gz
volse-hubzilla-ac8d481a3223335050a7f8dfe1c893a0b301ae7b.tar.bz2
volse-hubzilla-ac8d481a3223335050a7f8dfe1c893a0b301ae7b.zip
Merge branch 'master' of https://github.com/friendica/red
to be in sync with main repro
Diffstat (limited to 'include/bbcode.php')
-rw-r--r--include/bbcode.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index 084c02125..fec8750e9 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -442,14 +442,6 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true) {
// Check for list text
$Text = str_replace("[*]", "<li>", $Text);
- // Check for style sheet commands
- if (strpos($Text,'[/style]') !== false) {
- $Text = preg_replace("(\[style=(.*?)\](.*?)\[\/style\])ism","<span style=\"$1;\">$2</span>",$Text);
- }
- // Check for CSS classes
- if (strpos($Text,'[/class]') !== false) {
- $Text = preg_replace("(\[class=(.*?)\](.*?)\[\/class\])ism","<span class=\"$1\">$2</span>",$Text);
- }
// handle nested lists
$endlessloop = 0;