summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTopi Reinio <[email protected]>2025-01-31 15:24:03 +0000
committerTopi Reinio <[email protected]>2025-02-08 04:30:01 +0000
commit88e4e952d73db9bc442593a96c88ca22ba7ab673 (patch)
tree8548053926c7dfb3aa7d999b0e8c1569114e0979
parent329a2349aea8338c3a36358b5d8f6fdc8737b1e9 (diff)
Doc: Clean up output for tabbed content macro
Insert line breaks in the content the \tab macro expands to. This produces nicer-looking html and also fixes an issue related to the post-processing done to the generated files. Fixes: QTWEBSITE-1202 Pick-to: 6.9 6.8 Change-Id: If4e7f7242f8687ef84ad715744653c4167cf907f Reviewed-by: Andreas Eliasson <[email protected]>
-rw-r--r--doc/global/htmltabs.qdocconf2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/global/htmltabs.qdocconf b/doc/global/htmltabs.qdocconf
index 3a41a64d220..0b07b6737ec 100644
--- a/doc/global/htmltabs.qdocconf
+++ b/doc/global/htmltabs.qdocconf
@@ -37,7 +37,7 @@
# \endtabcontent
# \endif
-macro.tab.HTML = "<input type=\"radio\" name=\"tabs_\1\" id=\"\2\" \4/><label for=\"\2\">\3</label><style>#\2:checked ~ .\2{display: block;}</style>"
+macro.tab.HTML = "<input type=\"radio\" name=\"tabs_\1\" id=\"\2\" \4/><label for=\"\2\">\3</label>\n<style>#\2:checked ~ .\2{display: block;}</style>\n"
macro.tabcontent = "\\div {class=\"tabcontent \1\"}"
macro.endtabcontent = "\\enddiv"