From e7daa25fc21c2bc4701a5c6d3260310930425499 Mon Sep 17 00:00:00 2001 From: ilyapashayan Date: Mon, 30 Mar 2026 19:17:40 +0400 Subject: [PATCH] fix: match mention styling exactly to RichEditor for custom primary color support --- src/Models/Comment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Models/Comment.php b/src/Models/Comment.php index 845288e..a169e85 100644 --- a/src/Models/Comment.php +++ b/src/Models/Comment.php @@ -151,7 +151,7 @@ class Comment extends Model foreach ($mentionNames as $name) { $escapedName = e($name); - $styledSpan = '@'.$escapedName.''; + $styledSpan = '@'.$escapedName.''; // Replace rich-editor mention spans (data-type="mention" with @Name as text content) $body = preg_replace(