Releases: marko-js/htmljs-parser
Releases · marko-js/htmljs-parser
v5.2.3
Patch Changes
- #148
948830e
Thanks @DylanPiercey! - Fix issue with semi-colon after a block scriptlet.
v5.2.2
Patch Changes
- #146
bcfd809
Thanks @DylanPiercey! - Fixes an issue where attribute names that started with a keyword (eg:as-thing
orinstanceof-thing
) were incorrectly treated as an expression continuation.
v5.2.1
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
Minor Changes
- #141
81cff30
Thanks @DylanPiercey! - Add support for type parameter/argument parsing.
This adds a newonTagTypeParams
,onTagTypeArgs
events and a.typeParams
property on theAttrMethod
range.
v5.1.5
Patch Changes
- #138
8c34227
Thanks @DylanPiercey! - Fixes a parse error where division is immediately followed by enclosed code.
v5.1.4
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
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
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
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
Minor Changes
- #125
725bcb3
Thanks @DylanPiercey! - Expose some apis for generating position and location information.