Skip to content

Injects in string #3094

Open
Open
@LarryC42

Description

@LarryC42

If you have a string with </body> in it, live server will inject there instead of at the real </body> tag. Might be better to search from the end to the front looking for </body> tag. Example:
<!DOCTYPE html>
<html>
<body>
<script>
var a = "</body>";
console.log("won't get here");
</script>
</body>
</html>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions