sunag 2 лет назад
Родитель
Сommit
3f235f8fcf
1 измененных файлов с 1 добавлено и 1 удалено
  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 ) {