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

Fix issue 3205: Javascript indentation in HTML #6410

Closed
wants to merge 1 commit into from

Conversation

coderonline
Copy link

Discussed in #3205

This change fixes indentation issues I had with Javascript embedded in HTML.

At the moment ggVG= would format the following HTML like so:

<html>
    <body>
        <style>
            div#d1 { color: red; }
            div#d2 { color: green; }
            div#d3 { color: blue; }
        </style>
        <script>
            var v1="v1";
var v2="v2";
var v3="v3";
        </script>
    </body>
</html>

After this patch it looks like this:

<html>
    <body>
        <style>
            div#d1 { color: red; }
            div#d2 { color: green; }
            div#d3 { color: blue; }
        </style>
        <script>
            var v1="v1";
            var v2="v2";
            var v3="v3";
        </script>
    </body>
</html>

@brammool
Copy link
Contributor

brammool commented Jul 7, 2020

I have included this, it will be in the next runtime files update.

@brammool brammool closed this Jul 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants