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.
-
Create a LiaScript document with the following HTML comments:
<!--
Working
-->
<!--
Not working.
-->
-
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
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.
Create a LiaScript document with the following HTML comments:
Observe the rendering behavior:
.).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:
@RDM4CAU