diff options
author | friendica <info@friendica.com> | 2012-06-25 16:03:46 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-06-25 16:03:46 -0700 |
commit | b044cd922d389b5bb9367ce1004d00a711562cf9 (patch) | |
tree | 57cd333508e4bb43b923fb74914b3d50904d4536 /include/bbcode.php | |
parent | 89ad19ce01f396ca71f4a991699871b26cf90b29 (diff) | |
download | volse-hubzilla-b044cd922d389b5bb9367ce1004d00a711562cf9.tar.gz volse-hubzilla-b044cd922d389b5bb9367ce1004d00a711562cf9.tar.bz2 volse-hubzilla-b044cd922d389b5bb9367ce1004d00a711562cf9.zip |
typos in bbcode, add service class restrictions to jot uploads
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 38d1e658f..2c1c2378f 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -162,7 +162,7 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true) { // handle nested lists $endlessloop = 0; - while ((strpos($Text, "[/list]") !== false) && (strpos($Text, "[list") !== false) + while ((strpos($Text, "[/list]") !== false) && (strpos($Text, "[list") !== false) && (strpos($Text, "[/ol]") !== false) && (strpos($Text, "[ol]") !== false) && (strpos($Text, "[/ul]") !== false) && (strpos($Text, "[ul]") !== false) && (++$endlessloop < 20)) { $Text = preg_replace("/\[list\](.*?)\[\/list\]/ism", '<ul class="listbullet" style="list-style-type: circle;">$1</ul>' ,$Text); |