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

Diet template filter :javascript wrong indentation? #837

Closed
Kozzi11 opened this Issue Sep 21, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@Kozzi11

Kozzi11 commented Sep 21, 2014

this code:

doctype html
html
    head
        title LangBench
    body
        :javascript
            var test = 0;

give this HTML:

<!DOCTYPE html>
<html>
    <head>
        <title>LangBench</title>
    </head>
    <body>
    <script type="text/javascript">
        //<![CDATA[
        var test = 0;
        //]]>
    </script>
    </body>
</html>

but I think it should produce this:

<!DOCTYPE html>
<html>
    <head>
        <title>LangBench</title>
    </head>
    <body>
        <script type="text/javascript">
            //<![CDATA[
            var test = 0;
            //]]>
        </script>
    </body>
</html>

@s-ludwig s-ludwig closed this in d3c8390 Jan 10, 2016

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