diff --git a/rebuild.php b/rebuild.php index 19ebb9b..1d38b86 100644 --- a/rebuild.php +++ b/rebuild.php @@ -135,6 +135,7 @@ function text2html($sz) { $base = preg_replace('~\\[i\\](.+?)\\[/i\\]~m', '\\1', $base); $base = preg_replace('~\\[spoiler\\](.+?)\\[/spoiler\\]~m', '\\1', $base); $base = preg_replace('~\\[entry=([^\\]]+?)\\](.+?)\\[/entry\\]~m', '\\2', $base); + $base = preg_replace('~\n- ~ms', "\n• ", $base); $btparts = explode('`', $base); if (count($btparts) > 1 && (count($btparts) % 2)) {