We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a00259 commit 8d218f1Copy full SHA for 8d218f1
scripts/generateHeadingIDs.js
@@ -24,7 +24,7 @@ function addHeaderID(line, slugger) {
24
return line;
25
}
26
// check if it already has an id
27
- if (/\{#[-A-Za-z0-9]+\}/.test(line)) {
+ if (/\{#[^}]+\}/.test(line)) {
28
29
30
const headingText = line.slice(line.indexOf(' ')).trim();
0 commit comments