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/close-tag-less-than.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/quiet-pears-refuse.md

This file was deleted.

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

## 5.13.0

### Minor Changes

- [#234](https://github.com/marko-js/htmljs-parser/pull/234) [`d67f9e6`](https://github.com/marko-js/htmljs-parser/commit/d67f9e60ee82110d7156e0c7f73374ea5e66df4a) Thanks [@DylanPiercey](https://github.com/DylanPiercey)! - In HTML mode, a whitespace-preceded `>=` in an unenclosed attribute value is now parsed as a comparison operator (eg `<if=count >= 10>`), and a whitespace-preceded `>` that looks like a split comparison (eg `<if=count > 10>`) now reports an error suggesting parentheses instead of silently ending the tag.

### Patch Changes

- [#234](https://github.com/marko-js/htmljs-parser/pull/234) [`c2e874c`](https://github.com/marko-js/htmljs-parser/commit/c2e874cf53e2d9166af5f3c3999885ec5a277d1f) Thanks [@DylanPiercey](https://github.com/DylanPiercey)! - In HTML mode, a "</" after a whitespace-terminated unenclosed attribute value is now treated as a close tag instead of being consumed as a less-than operator, and a close tag found before the open tag is closed reports a targeted error suggesting parentheses.

## 5.12.1

### Patch 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.12.1",
"version": "5.13.0",
"description": "An HTML parser recognizes content and string placeholders and allows JavaScript expressions as attribute values",
"keywords": [
"HTML",
Expand Down