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

Vue: Handle more edge cases #950

Merged
merged 1 commit into from Apr 1, 2024
Merged

Commits on Apr 1, 2024

  1. Vue: Handle more edge cases

    - The parsing of `v-` directives expected that this always ended in
    `">`, however it is possible that there are other attributes after an
    `v-` directive also it made the assumption that there couldn't be any
    spaces in the value of the directive. Therefore it could result in
    incorrect lexing where almost the whole file could be marked as an
    LiteralString.
    - Handle `-` in HTML element names.
    - Explicitely mark `=` as an operator token.
    - Tests added.
    - Ref: https://codeberg.org/forgejo/forgejo/issues/2945
    Gusted committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    d33880c View commit details
    Browse the repository at this point in the history