htmljs-parser
Advanced tools
Changelog
5.2.3
948830e
Thanks @DylanPiercey! - Fix issue with semi-colon after a block scriptlet.Changelog
5.2.2
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.Changelog
5.2.1
635b97c
Thanks @DylanPiercey! - Fix issue where and extra character was being consumed if an escaped placeholder was at the end of a tag.Changelog
5.2.0
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.Changelog
5.1.5
8c34227
Thanks @DylanPiercey! - Fixes a parse error where division is immediately followed by enclosed code.Changelog
5.1.4
b5fa4d0
Thanks @DylanPiercey! - Optimize parser constructor to avoid initializing unecessary properties.cdbc6b2
Thanks @DylanPiercey! - Improve missing attribute error when the tag is immediately closed without the attribute value.Changelog
5.1.3
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.59a10d5
Thanks @DylanPiercey! - Remove unecessary check for cdata inside parsed text state.Changelog
5.1.2
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.Changelog
5.1.1
222b145
Thanks @DylanPiercey! - Fix regression around JS style comments in the body by requiring that they are preceded by a whitespace.Changelog
5.1.0
725bcb3
Thanks @DylanPiercey! - Expose some apis for generating position and location information.