Open
Description
Here we observe tidy --doctype html5 is helpless at getting rid of
the ?xml and xmlns lines in
$ pod2html /dev/null | sed 's/rev=/rel=/ #fix pod2html bug' | tidy -q --doctype html5
<?xml version="1.0"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content=
"HTML Tidy for HTML5 for Linux version 5.6.0" />
<title></title>
<meta http-equiv="content-type" content=
"text/html; charset=utf-8" />
<link rel="made" href="mailto:root@localhost" />
</head>
<body>
</body>
</html>
Well at least on the man page at --doctype html5 mention what to do. See also #658, #767.