Skip to content
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

Bug report: Closing 'body' tag isn't formatted correctly #900

Closed
jeremykohn opened this issue Mar 18, 2016 · 1 comment
Closed

Bug report: Closing 'body' tag isn't formatted correctly #900

jeremykohn opened this issue Mar 18, 2016 · 1 comment

Comments

@jeremykohn
Copy link

Here's the text I pasted into jsbeautify.com:

<!DOCTYPE html><html><head><meta charset="UTF-8"></head><body><h1>Hi!</h1></body></html>

After beautifying, most of the text is formatted and indented properly, except for the closing body tag.

<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
</head>

<body>
    <h1>Hi!</h1></body>

</html>

Basically, the </body> tag remains at the end of its line instead of moving down to a new line.

This issue also occurs in the Sublime-HTMLPrettify plugin (I earlier posted a bug report at victorporof/Sublime-HTMLPrettify#284).

@ErisDS
Copy link

ErisDS commented Jul 14, 2016

Also encountering this issue, which appears to have occurred between 1.5.4 and 1.5.5, in case that helps.

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

No branches or pull requests

3 participants