mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-11 08:07:26 +02:00
fix: right TOC should not strip special chars (#1458)
* fix: right TOC should not strip special chars * nits
This commit is contained in:
parent
a0089aa9f5
commit
f84abfe2d1
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ function getTOC(content, headingTags = 'h2', subHeadingTags = 'h3') {
|
|||
if (!allowedHeadingLevels.includes(heading.lvl)) {
|
||||
return;
|
||||
}
|
||||
const rawContent = mdToc.titleize(heading.content);
|
||||
const rawContent = heading.content;
|
||||
const entry = {
|
||||
hashLink,
|
||||
rawContent,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue