Skip to content

Commit dbdf58a

Browse files
authored
Valid tag names can include any digit [0-9] (#66)
1 parent 2ad7be6 commit dbdf58a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/snapshot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
} from './types';
1111

1212
let _id = 1;
13-
const tagNameRegex = RegExp('[^a-z1-6-_]');
13+
const tagNameRegex = RegExp('[^a-z0-9-_]');
1414

1515
export const IGNORED_NODE = -2;
1616

0 commit comments

Comments
 (0)