From a826218eee6a00688552f5e455c7340893456aa1 Mon Sep 17 00:00:00 2001 From: fuzzykitten Date: Mon, 21 Apr 2025 07:35:39 -0400 Subject: [PATCH] fixed one bug in bbcode display --- opt/display.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opt/display.php b/opt/display.php index 5a58f03..5aba6b8 100644 --- a/opt/display.php +++ b/opt/display.php @@ -65,7 +65,7 @@ function bbcode_to_html($text, $settings, $sub) '/(\[sp\ )(.*)(\])/', '/(\[li\ )(.*)(\])/', '/(\[url\ )(.*)(\])/', - '/s\/(.+)\/([0-9]+)/', + ' /s\/(.+)\/([0-9]+)/', '/>> ([0-9]+)\r\n/', '/>>(.*)\r\n/' );