File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ window.$docsify = {
87
87
editHtml +
88
88
html +
89
89
' \n ----\n ' +
90
- ' {content }' +
90
+ ' Last modified {docsify-update }' +
91
91
editHtml
92
92
);
93
93
});
@@ -107,8 +107,8 @@ console.log(window.Docsify.version)
107
107
Current version: <span id =' tip-version ' >loading</span >
108
108
109
109
<script >
110
- document .getElementById (' tip-version' ).innerText = Docsify .version
110
+ document .getElementById (' tip-version' ).innerText = Docsify .version
111
111
// fix1320 replace the content to show the {docsify-ignore} example in case of being replaced in default.
112
- let text = document .getElementsByClassName (" lang-js" )[2 ].innerHTML .replace (" {content} " , " Last modified {docsify-update}" )
112
+ let text = document .getElementsByClassName (" lang-js" )[2 ].innerHTML .replace (/ Last modified . * $ ' / , " Last modified {docsify-update}" )
113
113
document .getElementsByClassName (" lang-js" )[2 ].innerHTML = text
114
114
</script >
You can’t perform that action at this time.
0 commit comments