Skip to content

Commit ffbda99

Browse files
save file
1 parent 16e570d commit ffbda99

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎utils/editors/html/code-explorer/v1.0/code-explorer-v1.0.html‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,8 @@
623623

624624
if(!tag.startsWith('</')){
625625
//console.log(tag);
626-
var match = tag.match(/^<\s*([a-z0-9\-]+)/i);
626+
//var match = tag.match(/^<\s*([a-z0-9\-]+)/i);
627+
var match = tag.match(/^<\s*([a-z0-9\-]+)(?:\s|>)/i);
627628
var name = match ? match[1].toLowerCase() : '';
628629

629630
/*

0 commit comments

Comments
 (0)