From d67c7fc92616f7fc8211fc86d6e875fb9ab1ee52 Mon Sep 17 00:00:00 2001 From: mappu Date: Sun, 8 Nov 2015 11:35:29 +1300 Subject: [PATCH] style: use bullets for unordered lists --- rebuild.php | 1 + 1 file changed, 1 insertion(+) 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)) {