Skip to content
This repository was archived by the owner on Feb 6, 2020. It is now read-only.

Commit 5521581

Browse files
committed
head tag id fix for chiness
1 parent df06206 commit 5521581

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/server/static/scripts/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
+ level
5858
+ ' id="'
5959
+ this.options.headerPrefix
60-
+ raw.toLowerCase().replace(/[^\w]+/g, '-')
60+
+ raw.toLowerCase().replace(/[\s]+/g, '-')
6161
+ '">'
6262
+ text
6363
+ '</h'

0 commit comments

Comments
 (0)