We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 712fded commit 3fe542aCopy full SHA for 3fe542a
lib/outline.js
@@ -20,8 +20,7 @@ function getOutline (node, depth) {
20
const title = sanitize(section.getTitle())
21
return {
22
title: title,
23
- // encode section ID until https://bugs.chromium.org/p/chromium/issues/detail?id=985254 is fixed
24
- destination: encodeURIComponent(section.getId()).replace(/%/g, '#25'),
+ destination: section.getId(),
25
children: getOutline(section, depth - 1)
26
}
27
})
0 commit comments