Closed
Description
Input:
<!DOCTYPE html>
<title>Test</title>
<a id="Section" href="#Section"><h1>Section</h1></a>
Output of tidy5 -indent:
<!DOCTYPE html>
<html>
<head>
<meta name="generator" content=
"HTML Tidy for HTML5 for Linux version 4.9.17">
<title>Test</title>
</head>
<body>
<a id="Section" href="#Section">
<h1><a id="Section" href="#Section">Section</a></h1></a>
</body>
</html>
Note the two anchor tags with id "Section" in the output.