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 Change-Id: If4e7f7242f8687ef84ad715744653c4167cf907f Reviewed-by: Andreas Eliasson <andreas.eliasson@qt.io> (cherry picked from commit 88e4e952d73db9bc442593a96c88ca22ba7ab673) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit f490b4de058d7fa91b42cf48524131b965524177)bb10
parent
9c59689de4
commit
d9801f4453
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue