mirror of
https://github.com/danbulant/node-html-parser
synced 2026-05-19 04:18:52 +00:00
fixed: issue #27
This commit is contained in:
parent
8d3cb4c523
commit
faa24ed1c3
1 changed files with 1 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ 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';
|
||||
export { default as NodeType } from './nodes/type';
|
||||
|
||||
// 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