Skip to content

HTML Comments Break When Containing a Period (.) #215

Description

@thorge

HTML comments in LiaScript behave inconsistently. When a period (.) is included in the comment, the rendering breaks.

Steps to Reproduce:

See this snapshot for reproduction.

  1. Create a LiaScript document with the following HTML comments:

    <!--
    Working
    -->
    
    <!--
    Not working.
    -->
  2. Observe the rendering behavior:

    • The first comment displays correctly.
    • The second comment causes issues due to the period (.).

Expected Behavior:
Both comments should render correctly, regardless of the presence of a period.

Actual Behavior:
Comments containing a period (.) are not rendered properly.

Environment:

  • LiaScript-Preview: v1.0.74

@RDM4CAU

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions