diff --git a/ext/bbcode/main.php b/ext/bbcode/main.php index 811adeb8..aa6128e6 100644 --- a/ext/bbcode/main.php +++ b/ext/bbcode/main.php @@ -30,6 +30,8 @@ class BBCode extends Extension { $text = preg_replace("/\[ul\](.*?)\[\/ul\]/s", "", $text); $text = preg_replace("/\[ol\](.*?)\[\/ol\]/s", "
    \\1
", $text); $text = preg_replace("/\[li\](.*?)\[\/li\]/s", "
  • \\1
  • ", $text); + $text = preg_replace("#\[\*\]#s", "
  • ", $text); + $text = preg_replace("#
    <(li|ul|ol|/ul|/ol)>#s", "<\\1>", $text); return $text; } @@ -52,6 +54,7 @@ class BBCode extends Extension { $text = preg_replace("/\[ul\](.*?)\[\/ul\]/s", "\\1", $text); $text = preg_replace("/\[ol\](.*?)\[\/ol\]/s", "\\1", $text); $text = preg_replace("/\[li\](.*?)\[\/li\]/s", "\\1", $text); + $text = preg_replace("/\[\*\](.*?)/s", "\\1", $text); return $text; } } diff --git a/themes/default/style.css b/themes/default/style.css index 49084c00..968efb48 100644 --- a/themes/default/style.css +++ b/themes/default/style.css @@ -65,6 +65,10 @@ BLOCKQUOTE { background: #DDD; } +UL { + text-align: left; +} + /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * the navigation bar, and all its blocks * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */