qt5-qtdeclarative/0001-Document-that-StyledText-also-supports-nbsp-and-quot.patch

30 lines
1.1 KiB
Diff
Raw Normal View History

2022-07-13 12:31:15 +00:00
From 48fc7f164a347f88c221c6a86614008b63b7767f Mon Sep 17 00:00:00 2001
2021-06-01 14:49:33 +00:00
From: Albert Astals Cid <albert.astals.cid@kdab.com>
Date: Fri, 21 May 2021 13:17:15 +0200
2022-07-13 12:31:15 +00:00
Subject: [PATCH 01/19] Document that StyledText also supports &nbsp; and
2021-06-01 14:49:33 +00:00
&quot;
Change-Id: I1715f8ae8ec8d0fbaf6dbe2b8663cc169da663cd
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
(cherry picked from commit 5848c081c094a66e024493fc1e5c2569e06f73b6)
---
src/quick/items/qquicktext.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/quick/items/qquicktext.cpp b/src/quick/items/qquicktext.cpp
2022-05-17 06:19:51 +00:00
index 6230186933..c1571fc6f5 100644
2021-06-01 14:49:33 +00:00
--- a/src/quick/items/qquicktext.cpp
+++ b/src/quick/items/qquicktext.cpp
@@ -2168,7 +2168,7 @@ void QQuickText::resetMaximumLineCount()
<img src="" align="top,middle,bottom" width="" height=""> - inline images
<ol type="">, <ul type=""> and <li> - ordered and unordered lists
<pre></pre> - preformatted
- &gt; &lt; &amp;
+ &gt; &lt; &amp; &quot; &nbsp;
\endcode
\c Text.StyledText parser is strict, requiring tags to be correctly nested.
--
2022-05-17 06:19:51 +00:00
2.36.1
2021-06-01 14:49:33 +00:00