From d0ea2c5aea7edc7cccfa2960f8912d65ff36be3e Mon Sep 17 00:00:00 2001 From: lan Date: Fri, 8 May 2026 23:49:42 +0800 Subject: [PATCH] refactor(business): simplify text rendering in PostContentRenderer Remove redundant `` wrapper when keyword highlighting is not applied to improve rendering efficiency and consistency. --- src/components/business/PostContentRenderer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/business/PostContentRenderer.tsx b/src/components/business/PostContentRenderer.tsx index e3379db..9f6d106 100644 --- a/src/components/business/PostContentRenderer.tsx +++ b/src/components/business/PostContentRenderer.tsx @@ -162,7 +162,7 @@ const PostContentRenderer: React.FC = ({ return highlightKeyword ? ( ) : ( - {text} + text ); } case 'at': {