Skip to content

Parser should catch missing "attribute separator" between attributes #198

@bminer

Description

@bminer
img(src="/image.png"alt="")

throws a compilation error. AST looks like this:

AST:
 { doctypes: [],
  nodes:
   [ { type: 'tag',
       name: 'img',
       id: null,
       classes: [],
       attributes: { src: { escape: true, code: '"image.png"alt=""' } },
       children: [],
       line: 1,
       col: 1 } ] }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions