Skip to content

HTML tags inside script tag are parsed #16

Description

@wnayes

Certain HTML elements cannot have children (void elements), but will be parsed as if they could.

For example:

<script type="text/javascript">
function someFunction(e)
{
	/// <summary>Adds a handler to a browser event</summary>
	/// <param name="e">Event</param>
	alert(e);
}
</script>

The <summary> tags inside the script tag are parsed as OpenHtmlTag, even though they are really part of the JavaScript literal content.

This can be worked around as a consumer of the parser, but it requires additional bookkeeping.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions