From 4902dbff285f1e0a2a7523b8ca28e442640f7501 Mon Sep 17 00:00:00 2001 From: Jon Stovell Date: Fri, 19 Jul 2024 17:58:19 -0600 Subject: [PATCH] Resets BBCodeParser::$bbc_codes for each parsed string Signed-off-by: Jon Stovell --- Sources/BBCodeParser.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/BBCodeParser.php b/Sources/BBCodeParser.php index a2b8da7872..f38734e17b 100644 --- a/Sources/BBCodeParser.php +++ b/Sources/BBCodeParser.php @@ -4216,6 +4216,7 @@ protected function resetRuntimeProperties(): void // Reset these properties. $to_reset = [ 'message', + 'bbc_codes', 'smileys', 'parse_tags', 'open_tags',