You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the command line js-beautifier or python library, HTML tags get mangled. newlines are created immediately after the HTML opening tag. Strange.
This does not happen when pasting into the box on www.jsbeautifier.org website.
Input
The code looked like this before beautification:
snippet below taken from www.example.com
Description
When using the command line js-beautifier or python library, HTML tags get mangled. newlines are created immediately after the HTML opening tag. Strange.
This does not happen when pasting into the box on www.jsbeautifier.org website.
Input
The code looked like this before beautification:
snippet below taken from www.example.com
Actual Output
The code actually looked like this after beautification:
Steps to Reproduce
1- go to www.example.com
2- view source and copy to local file.
3- run js-beautifier
Environment
OS: Linuxmint 17.3 with python 2.7.6. have also tried a debian stretch machine with python 2.7.13 with the same result. both with jsbeautifier 1.6.9
The text was updated successfully, but these errors were encountered: