Skip to content

Commit 00f56f2

Browse files
committed
sync develop.
1 parent a9e98f9 commit 00f56f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/render/compiler.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export class Compiler {
216216

217217
if (/{docsify-ignore}/g.test(str)) {
218218
str = str.replace('{docsify-ignore}', '');
219-
nextToc.title = str;
219+
nextToc.title = removeAtag(str);
220220
nextToc.ignoreSubHeading = true;
221221
}
222222

@@ -228,7 +228,7 @@ export class Compiler {
228228

229229
if (/{docsify-ignore-all}/g.test(str)) {
230230
str = str.replace('{docsify-ignore-all}', '');
231-
nextToc.title = str;
231+
nextToc.title = removeAtag(str);
232232
nextToc.ignoreAllSubs = true;
233233
}
234234

0 commit comments

Comments
 (0)