Skip to content

ang-zeyu/htmlparser2

 
 

Repository files navigation

htmlparser2 fork

What does this fork add?

The ability to treat any tags of at least length 2 you want as special tags (script|style).

Usage

In addition to the main parser options, you can pass the following option:

specialTagNames

An array of case-insensitive string special tags of at least length 2 you want to treat as special tags.

script|style will always be inserted; There is no need to pass these tags in addition.

All other info

Please refer to the main repo.

About

Forgiving html and xml parser

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 98.6%
  • HTML 1.4%