From 82c44b81dc414ca8f6093bdd0379c93b95d2d610 Mon Sep 17 00:00:00 2001 From: Paul Wicking Date: Sun, 5 Jan 2020 09:49:01 +0100 Subject: QDoc: Use html5 charset declaration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As we claim the html is html5 compliant (), use the html5 charset declaration instead of html 4.01 style. Also, drop the trailing '/' (no need to close meta element). Update all test content to match the new output. Task-number: QTBUG-73026 Change-Id: I4cf58a342a2bfb9e76245bd3fb91525e6e59f622 Reviewed-by: Topi Reiniƶ --- src/qdoc/htmlgenerator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qdoc/htmlgenerator.cpp') diff --git a/src/qdoc/htmlgenerator.cpp b/src/qdoc/htmlgenerator.cpp index b38f55fd1..b7dc227ca 100644 --- a/src/qdoc/htmlgenerator.cpp +++ b/src/qdoc/htmlgenerator.cpp @@ -1833,7 +1833,7 @@ void HtmlGenerator::generateHeader(const QString &title, const Node *node, CodeM out() << "\n"; out() << QString("\n").arg(naturalLanguage); out() << "\n"; - out() << " \n"; + out() << " \n"; if (node && !node->doc().location().isEmpty()) out() << "\n"; -- cgit v1.2.1