summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThibaut Cuvelier <cuvelier.thibaut@gmail.com>2022-08-05 10:52:41 +0200
committerPaul Wicking <paul.wicking@qt.io>2022-11-09 21:42:32 +0100
commita3d9559d95776f550a0fff77c48ec5101fea4465 (patch)
treee20eea7cbb16ff92f937ed254054e6064a5e18f6 /tests
parent1688ff954b3ca98b6250427952effb980cef2199 (diff)
downloadqttools-a3d9559d95776f550a0fff77c48ec5101fea4465.tar.gz
qdoc raw string: deal with raw HTML titles
Improve code quality of parsing headers in raw strings. Determine whether a section was just closed to avoid generating wrong DocBook. Change-Id: I3ab914ac2c74e60f525f2fce0c3956725682dd63 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qdoc/generatedoutput/expected_output/docbook/qdoctests-qdocfileoutput-exhaustive.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qdoc/generatedoutput/expected_output/docbook/qdoctests-qdocfileoutput-exhaustive.xml b/tests/auto/qdoc/generatedoutput/expected_output/docbook/qdoctests-qdocfileoutput-exhaustive.xml
index 71e8b4a83..883328d18 100644
--- a/tests/auto/qdoc/generatedoutput/expected_output/docbook/qdoctests-qdocfileoutput-exhaustive.xml
+++ b/tests/auto/qdoc/generatedoutput/expected_output/docbook/qdoctests-qdocfileoutput-exhaustive.xml
@@ -28,8 +28,8 @@
<db:para>Lorem legal ipsum</db:para>
<db:blockquote><db:para>This is a quotation.</db:para>
</db:blockquote>
- <html><body>This is <b>raw</b>. Like the <h1>Eddie Murphy</h1> movie. Just not as funny.</body></html>
- <db:sidebar><db:para>Look, ma! I made a sidebar!</db:para>
+<db:programlisting role="raw-html"><![CDATA[<html><body>This is <b>raw</b>. Like the <h1>Eddie Murphy</h1> movie. Just not as funny.</body></html>]]></db:programlisting>
+<db:sidebar><db:para>Look, ma! I made a sidebar!</db:para>
</db:sidebar>
<db:informaltable style="generic">
<db:tr valign="top">