Skip to content

Extra hyphen in closing comment marker breaks parsing and rendering #681

@HyperLightResearch

Description

@HyperLightResearch

If a closing comment marker has an extra hyphen in it, like --->, rendering breaks and the parser reports errors. The error that gets reported depends on where the marker is placed.

Repro case:

<rml>
	<head>
		<title>Hello world</title>
		<link type="text/rcss" href="rml.rcss"/>
	</head>
	<body>
		<table>
			<tr>
				<td/>
			</tr>
			<-- bad closing marker --->
			<tr>
				<td/>
			</tr>
			<tr>
				<td/>
			</tr>
		</table>
	</body>
</rml>

RmlUI 4.4, x86, Windows

Also, thank you for this library. It's very intuitive and has been extremely useful!

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