From 5b172813745363bcd0d437a0edc968fcf09ec792 Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Fri, 27 Jun 2025 18:41:28 +0800 Subject: [PATCH] text_view: Fix `li > strong` render not in same line. (#1016) ## Before image ## After image --- crates/story/examples/html.html | 38 ++++++++++++++++------- crates/ui/src/text/element.rs | 54 ++++++++++++++++++--------------- crates/ui/src/text/html.rs | 4 +-- 3 files changed, 58 insertions(+), 38 deletions(-) diff --git a/crates/story/examples/html.html b/crates/story/examples/html.html index 460b0080..7baebc6c 100644 --- a/crates/story/examples/html.html +++ b/crates/story/examples/html.html @@ -5,8 +5,9 @@

This is a paragraph inside a div element, have @Mention Tag - Link with: Bold italic, bold, - italic, and + Link with: Bold italic, bold, italic, and code text.