This repository has been archived by the owner on Jan 23, 2020. It is now read-only.
Releases: yahoo/context-parser
Releases · yahoo/context-parser
API Enhancement
- Initialize attribute value as null instead of
''
- add
ContextParser.reset()
to reset all internal states
Version 2.0.0
It is time to bump up the version to 2.x for the Context Parser, as the original version 1.x has evolved by separating the code base into 2 classes of Fast Parser and Parser for different design objectives. The first one aims for speed/performance while the second one aims for features.
And we standardize the API name as "contextualize" for context analysis.
The new version of Context Parser supports
- Context analysis of the input stream based on the HTML5 WHATWG specification
- Events driven preWalk and postWalk for feature extension.
- Input pre-processing, canonicalization and voiding of IE conditional comments of the input stream for addressing cross browser compatibility
Add new apis for getting handling tag name
- Add getCurrentTagIndex() function to get current handling start or end tag
- Add getCurrentTag(tagIdx) function to get current handling tag name.
Fix fork issue of Attribute Name
v1.1.1-beta Version 1.1.1 Beta
Cross Browser Compatibility Features Support (Beta)
- Support input pre-processing
- Support canonicalization
- Support removal of IE conditional comments