From 5399161425869cdcf07c7d221778426c3e90f97e Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Mon, 19 Jan 2026 16:26:03 +0100 Subject: [PATCH] #7894 @1 --- src/Text.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Text.php b/src/Text.php index b5a5cb0..62dab5a 100644 --- a/src/Text.php +++ b/src/Text.php @@ -248,10 +248,10 @@ class Text $tags = implode('|', $allowed_tags); if (empty($tags)) { - $tags = '[a-z]+'; + $tags = '[a-z0-9]+'; } - preg_match_all('@@i', $str, $matches); + preg_match_all('@@i', $str, $matches); $full_tags = $matches[0]; $tag_names = $matches[1]; -- 2.39.5