Giter VIP home page Giter VIP logo

Comments (3)

SamJakob avatar SamJakob commented on June 12, 2024 1

Oh I see, so it's not recognizing the white space?

It's presumably an issue with the newline delimiter or whitespace regex in that case.

from intellij-askama-template-plugin.

SamJakob avatar SamJakob commented on June 12, 2024

Do you mean that this problem occurs when the code appears as follows?

<input class="input"autocomplete="off">

Per the spec this is actually not valid HTML(5) (despite it being possible to interpret the intention behind this and indeed, I think some browsers might interpret this as intended):
https://html.spec.whatwg.org/multipage/syntax.html#start-tags (see point 4)

from intellij-askama-template-plugin.

freelon avatar freelon commented on June 12, 2024

Hi,

No, the line break is there intentionally. When I have tags with a lot of attributes it is nice to split it on several lines. The white space between the two attributes (line break and several spaces or tabs) is where the plugin complained that it wants a space.

from intellij-askama-template-plugin.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.