Browse Source

Add space character support (#24775)

sunag 2 years ago
parent
commit
3f235f8fcf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/index.html

+ 1 - 1
examples/index.html

@@ -313,7 +313,7 @@
 
 			const link = links[ file ];
 			if ( file in tags ) file += ' ' + tags[ file ].join( ' ' );
-			const res = file.match( exp );
+			const res = file.replace( /_+/g, ' ' ).match( exp );
 
 			if ( res && res.length > 0 ) {