| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e152cf7 commit f68b165
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -226,8 +226,8 @@ function preprocessElements({ filename }) { | |||
| 226 | 226 | } | |
| 227 | 227 | ||
| 228 | 228 | // Do not link to the section we are already in. | |
| 229 | - const noLinking = filename === 'documentation' && | ||
| 230 | - heading !== null && heading.value === 'Stability Index'; | ||
| 229 | + const noLinking = filename.includes('documentation') && | ||
| 230 | + heading !== null && heading.children[0].value === 'Stability Index'; | ||
| 231 | 231 | ||
| 232 | 232 | // collapse blockquote and paragraph into a single node | |
| 233 | 233 | node.type = 'paragraph'; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments