Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/html-comment-in-open-tag.md

This file was deleted.

6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# htmljs-parser

## 5.15.0

### Minor Changes

- [#239](https://github.com/marko-js/htmljs-parser/pull/239) [`2d413ae`](https://github.com/marko-js/htmljs-parser/commit/2d413ae118200294fe76d5f867616d8abc7b781a) Thanks [@LuLaValva](https://github.com/LuLaValva)! - An `<!--` inside an open tag now reports a targeted `INVALID_HTML_COMMENT` error pointing at the comment, instead of being read as tag type arguments, as attribute type parameters, or (after a whitespace-terminated attribute value) consumed as a less-than operator. Like `</`, a `<!--` no longer continues an unenclosed attribute value, so `<div class="a" <!-- note --> id="b">` reports the comment rather than silently parsing as `class=("a" < !--note)` plus two junk attributes.

## 5.14.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "htmljs-parser",
"version": "5.14.0",
"version": "5.15.0",
"description": "An HTML parser recognizes content and string placeholders and allows JavaScript expressions as attribute values",
"keywords": [
"HTML",
Expand Down