Skip to content

Commit

Permalink
fixed: issue ashi009#27
Browse files Browse the repository at this point in the history
  • Loading branch information
taoqf committed Feb 20, 2020
1 parent 8d3cb4c commit faa24ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit faa24ed

Please sign in to comment.