mirror of
https://github.com/danbulant/node-html-parser
synced 2026-05-19 04:18:52 +00:00
export nodes
This commit is contained in:
parent
4686ba46b2
commit
7ec7292f84
1 changed files with 3 additions and 1 deletions
|
|
@ -1,9 +1,11 @@
|
|||
import arr_back from './back';
|
||||
import CommentNode from './nodes/comment';
|
||||
export { default as HTMLElement } from './nodes/html';
|
||||
import HTMLElement from './nodes/html';
|
||||
import TextNode from './nodes/text';
|
||||
export { default as CommentNode } from './nodes/comment';
|
||||
export { default as HTMLElement } from './nodes/html';
|
||||
export { default as Node } from './nodes/node';
|
||||
export { default as TextNode } from './nodes/text';
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/custom-elements.html#valid-custom-element-name
|
||||
const kMarkupPattern = /<!--[^]*?(?=-->)-->|<(\/?)([a-z][-.:0-9_a-z]*)\s*([^>]*?)(\/?)>/ig;
|
||||
|
|
|
|||
Loading…
Reference in a new issue