From b851ef73be5ea01726bca0b6d686508e54a4191d Mon Sep 17 00:00:00 2001 From: albert-github Date: Mon, 26 Nov 2018 12:36:33 +0100 Subject: Warning running xmllint for xhtml When running xmllint in the error output the following message appears: `I/O error : Attempt to load network entity http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd` Going to the website we see that there an automatic redirect was done from `http` to `https`. --- src/searchindex.cpp | 4 ++-- templates/html/header.html | 2 +- templates/html/htmlbase.tpl | 2 +- templates/html/htmlsearchresult.tpl | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/searchindex.cpp b/src/searchindex.cpp index e0d4acc..5859d67 100644 --- a/src/searchindex.cpp +++ b/src/searchindex.cpp @@ -980,7 +980,7 @@ void writeJavascriptSearchIndex() FTextStream t(&outFile); t << "" << endl; + " \"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">" << endl; t << "" << endl; t << "" << endl; t << "" << endl; @@ -1284,7 +1284,7 @@ void writeJavascriptSearchIndex() { FTextStream t(&f); t << "" << endl; + "\"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">" << endl; t << "" << endl; t << "" << endl; t << "" << endl; diff --git a/templates/html/header.html b/templates/html/header.html index 338d0be..9527936 100644 --- a/templates/html/header.html +++ b/templates/html/header.html @@ -1,4 +1,4 @@ - + diff --git a/templates/html/htmlbase.tpl b/templates/html/htmlbase.tpl index e271d3a..47939fd 100644 --- a/templates/html/htmlbase.tpl +++ b/templates/html/htmlbase.tpl @@ -1,5 +1,5 @@ {% block header %} - + diff --git a/templates/html/htmlsearchresult.tpl b/templates/html/htmlsearchresult.tpl index b795743..db37a5d 100644 --- a/templates/html/htmlsearchresult.tpl +++ b/templates/html/htmlsearchresult.tpl @@ -1,5 +1,5 @@ {# input: baseName #} - + -- cgit v0.12