Skip to content

Handling <!doctype html> #86

Open
Open
@PaulMarcantonio

Description

@PaulMarcantonio

Describe the bug

When running curlylint on a basic html template I noticed that the "<!doctype html>" was causing false positive Bad indentation and parent inline element issues. Once I commented out the "<!doctype html>" all tests passed.

Which terms did you search for in the documentation and issue tracker?

"<!doctype html>"
Notices other blogs were taking the same steps I did

motet-a/jinjalint#16

Environment

Windows 2012R2
Curlylint ver => 0.13.0
Python ver 3.7.6

Steps to reproduce

(Write your steps here:)

  1. create a simple html doc with <!doctype html> tag
  2. add some html items
  3. test with tag in place then with out

Expected behavior

You should see different results based on the state of the <!doctype html> tag

Actual behavior

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions