Skip to content

Empty <canvas> tags stripped #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
stevenle opened this issue Feb 22, 2012 · 1 comment
Closed

Empty <canvas> tags stripped #7

stevenle opened this issue Feb 22, 2012 · 1 comment

Comments

@stevenle
Copy link
Contributor

Empty tags are stripped by tidy.

Before:

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Canvas</title>
  </head>
  <body>
    <canvas></canvas>
  </body>
</html>

After:

<!DOCTYPE html>
<html lang="en">
<head>
<meta name="generator" content=
"HTML Tidy for Linux from https://github.com/w3c/tidy-html5">
<meta charset="utf-8">
<title>Canvas</title>
</head>
<body>
</body>
</html>
@stevenle
Copy link
Contributor Author

Thank you!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants