diff --git a/lib/outline.js b/lib/outline.js index f20e4cd4..0695e585 100644 --- a/lib/outline.js +++ b/lib/outline.js @@ -20,8 +20,7 @@ function getOutline (node, depth) { const title = sanitize(section.getTitle()) return { title: title, - // encode section ID until https://bugs.chromium.org/p/chromium/issues/detail?id=985254 is fixed - destination: encodeURIComponent(section.getId()).replace(/%/g, '#25'), + destination: section.getId(), children: getOutline(section, depth - 1) } })