Skip to content
This repository has been archived by the owner on Jan 23, 2020. It is now read-only.

Releases: yahoo/context-parser

API Enhancement

10 Jul 09:02
Compare
Choose a tag to compare
  • Initialize attribute value as null instead of ''
  • add ContextParser.reset() to reset all internal states

Version 2.0.0

15 Jun 02:34
Compare
Choose a tag to compare

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

10 Jun 01:29
Compare
Choose a tag to compare
  • 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

08 Jun 03:04
Compare
Choose a tag to compare
v1.1.1-beta

Version 1.1.1 Beta

Cross Browser Compatibility Features Support (Beta)

05 Jun 07:01
Compare
Choose a tag to compare
  • Support input pre-processing
  • Support canonicalization
  • Support removal of IE conditional comments