The results of beautification are not what I expect.
This is what the code looked like before:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<ul><li><a href="#">X</a></li></ul>
</body>
</html>
The beautified code should have looked like this:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<ul>
<li><a href="#">X</a></li>
</ul>
</body>
</html>
The beautified code actually looked like this:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible"
content="ie=edge">
<title>Document</title>
</head>
<body>
<ul>
<li><a href="#">X</a></li>
</ul>
</body>
</html>
Atom Beautify: Beautify EditorNote: It doesn't matter if wrap_attributes is set to force or auto
Here is a link to the debug.md Gist: https://gist.github.com/nivv/737386623d093b42df615da6ad401037
I have:
Atom Beautify: Help Debug Editor command in Atom and added link for debug.md Gist to this issueSeems related to https://github.com/beautify-web/js-beautify/issues/1103. Maybe we can close this one
Agreed, closing.
This has been resolved by the 3rd party. Any chance of publishing with correct reference to js-beautify?
Can we get this updated as @larsandreasness says? Seems silly to not have the latest fixes from js- beautify
Edit: I reinstalled the package and that seems to fix it.
Reinstalling atom-beautify triggers a fresh install of all of the dependencies, and is the recommended solution 馃憤 .
Feel free to submit a Pull Request to update the version numbers in the package.json, however it would be a tedious process to try and stay up to date and publish a new release for every single dependency in the package.json 馃槈 .