Skip to content

Releases: marko-js/htmljs-parser

v5.2.2

24 Jan 21:03
e864b4b
Compare
Choose a tag to compare

Patch Changes

  • #146 bcfd809 Thanks @DylanPiercey! - Fixes an issue where attribute names that started with a keyword (eg: as-thing or instanceof-thing) were incorrectly treated as an expression continuation.

v5.2.1

07 Dec 21:32
b232aa2
Compare
Choose a tag to compare

Patch Changes

  • #143 635b97c Thanks @DylanPiercey! - Fix issue where and extra character was being consumed if an escaped placeholder was at the end of a tag.

v5.2.0

22 Nov 17:39
76d00ee
Compare
Choose a tag to compare

Minor Changes

  • #141 81cff30 Thanks @DylanPiercey! - Add support for type parameter/argument parsing.
    This adds a new onTagTypeParams, onTagTypeArgs events and a .typeParams property on the AttrMethod range.

v5.1.5

09 Oct 03:40
9788f6e
Compare
Choose a tag to compare

Patch Changes

v5.1.4

17 Aug 16:01
7d3bd75
Compare
Choose a tag to compare

Patch Changes

  • #136 b5fa4d0 Thanks @DylanPiercey! - Optimize parser constructor to avoid initializing unecessary properties.

  • #134 cdbc6b2 Thanks @DylanPiercey! - Improve missing attribute error when the tag is immediately closed without the attribute value.

v5.1.3

09 Aug 04:15
80834b7
Compare
Choose a tag to compare

Patch Changes

  • #132 59a10d5 Thanks @DylanPiercey! - Fix regression which caused script tags with a trailing comment as the same line as the closing tag to not always parse properly.

  • #132 59a10d5 Thanks @DylanPiercey! - Remove unecessary check for cdata inside parsed text state.

v5.1.2

08 Aug 21:52
ab0abcf
Compare
Choose a tag to compare

Patch Changes

  • #130 ebc850f Thanks @DylanPiercey! - Switch from regexp based parsing for the expression continuations. This slightly improves performance and more importantly fixes usage of the parser in safari.

v5.1.1

02 Aug 17:36
b719040
Compare
Choose a tag to compare

Patch Changes

  • #127 222b145 Thanks @DylanPiercey! - Fix regression around JS style comments in the body by requiring that they are preceded by a whitespace.

v5.1.0

29 Jul 20:48
89fe2c7
Compare
Choose a tag to compare

Minor Changes

v5.0.4

26 Jul 17:52
18a377a
Compare
Choose a tag to compare

Patch Changes