Doc: Modify \tabcontent..\endtabcontent macros
QDoc markup following the \tabcontent macro should start a new paragraph. As HTML-specific macros are injected directly into the output, QDoc's doc parser is not aware that the macro should start a new paragraph. Turn the macros into generic, non-format-specific macros, expanding to \div and \enddiv commands that wrap the tab content. Pick-to: 6.8 6.5 Change-Id: Ie8313af391b1a38ef74592acac3198fef5b7b310 Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> (cherry picked from commit 5c0b08a20dd14f7fd8632495aa911fe427f58f7f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
697b769360
commit
562e74e3b4
@ -38,8 +38,8 @@
|
||||
# \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.tabcontent.HTML = "<div class=\"tabcontent \1\">"
|
||||
macro.endtabcontent.HTML = "</div>"
|
||||
macro.tabcontent = "\\div {class=\"tabcontent \1\"}"
|
||||
macro.endtabcontent = "\\enddiv"
|
||||
|
||||
HTML.extraimages += template/style/htmltabs.css
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user