- From: Christopher Walz <christopher@seo-vergleich.de>
- Date: Thu, 18 Mar 2021 09:01:20 +0100
- To: html-tidy@w3.org
Hello,
what is your input? I tried the following code without any of the
problems you mentioned:
<!DOCTYPE html>
<html dir="ltr" lang="de">
<head>
<title>Foo</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,
initial-scale=1">
</head>
<body>test</body>
</html>
After using your command tidy-asxhtml inputFile.txt > outfile.xml I
receive the correct xhtml output:
<!DOCTYPE html>
<html dir="ltr" lang="de" xmlns="http://www.w3.org/1999/xhtml"
xml:lang="de">
<head>
<meta name="generator" content=
"HTML Tidy for HTML5 for Linux version 5.2.0" />
<title>Foo</title>
<meta charset="utf-8" />
<meta name="viewport" content=
"width=device-width, initial-scale=1" />
</head>
<body>
test
</body>
</html>
Also which version of html-tidy are you using? Mine was tested with:
HTML Tidy for Linux version 5.2.0
--
Christopher Walz
Mail: christopher@seo-vergleich.de
Web: www.seo-vergleich.de
Received on Thursday, 18 March 2021 08:06:48 UTC