summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThibaut Cuvelier <cuvelier.thibaut@gmail.com>2022-08-01 17:21:07 +0200
committerPaul Wicking <paul.wicking@qt.io>2022-11-10 13:21:35 +0100
commitfc8e70f067d01c01c635c84b2172c476c306c8a3 (patch)
treea740def8595e5627cb174238d2628dace53d2ecc /tests
parent963292f513156adb189d9b96b7eddceec980bd70 (diff)
downloadqttools-fc8e70f067d01c01c635c84b2172c476c306c8a3.tar.gz
QDoc/DocBook: Encode raw strings in blockquotes as raw HTML
The only use case, for now, is in the QDoc manual, in which case no DocBook mapping is expected. Change-Id: I4c86bfde60b84f35f4914f26b3d48143b3be491b Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qdoc/generatedoutput/expected_output/docbook/qdoctests-qdocmanuallikefileoutput.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/auto/qdoc/generatedoutput/expected_output/docbook/qdoctests-qdocmanuallikefileoutput.xml b/tests/auto/qdoc/generatedoutput/expected_output/docbook/qdoctests-qdocmanuallikefileoutput.xml
index b8aedf385..8372f150c 100644
--- a/tests/auto/qdoc/generatedoutput/expected_output/docbook/qdoctests-qdocmanuallikefileoutput.xml
+++ b/tests/auto/qdoc/generatedoutput/expected_output/docbook/qdoctests-qdocmanuallikefileoutput.xml
@@ -9,7 +9,7 @@
<db:para>A test project for QDoc build artifacts.</db:para></db:abstract>
</db:info>
<db:para>The navigation commands...</db:para>
-<db:blockquote <table border="0" cellpadding="0" cellspacing="5" width="100%">
+<db:blockquote><db:programlisting role="raw-html"><![CDATA[ <table border="0" cellpadding="0" cellspacing="5" width="100%">
<tr>
<p>
@@ -37,7 +37,8 @@
</p>
</table>
- />
+ ]]></db:programlisting>
+</db:blockquote>
<db:programlisting language="cpp">&amp;lt;head&amp;gt;
...
&amp;lt;link rel=&amp;quot;start&amp;quot; href=&amp;quot;basicqt.html&amp;quot; /&amp;gt;