diff --git a/doc/global/html-footer.qdocconf b/doc/global/html-footer.qdocconf
index 673e5002916..f799534c58e 100644
--- a/doc/global/html-footer.qdocconf
+++ b/doc/global/html-footer.qdocconf
@@ -14,7 +14,7 @@ HTML.footer = \
" The documentation provided herein is licensed under the terms of the" \
" GNU Free Documentation" \
" License version 1.3 as published by the Free Software Foundation.
" \
- " Qt and respective logos are trademarks of The Qt Company Ltd. " \
- " in Finland and/or other countries worldwide. All other trademarks are property\n" \
- " of their respective owners.
\n" \
+ " Qt and respective logos are " \
+ " trademarks of The Qt Company Ltd. in Finland and/or other countries\n" \
+ " worldwide. All other trademarks are property of their respective owners. \n" \
"\n" \
diff --git a/doc/global/qt-module-defaults-online.qdocconf b/doc/global/qt-module-defaults-online.qdocconf
index 0200aed68ab..d8ff9eae44b 100644
--- a/doc/global/qt-module-defaults-online.qdocconf
+++ b/doc/global/qt-module-defaults-online.qdocconf
@@ -11,9 +11,9 @@ HTML.footer = \
" The documentation provided herein is licensed under the terms of the" \
" GNU Free Documentation" \
" License version 1.3 as published by the Free Software Foundation. " \
- " Qt and respective logos are trademarks of The Qt Company Ltd. " \
- " in Finland and/or other countries worldwide. All other trademarks are property\n" \
- " of their respective owners. \n"
+ " Qt and respective logos are " \
+ " trademarks of The Qt Company Ltd. in Finland and/or other countries\n"
+ " worldwide. All other trademarks are property of their respective owners. \n"
#include standard set of macros and C++ defines and ignores
include(macros.qdocconf)