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 5b1817f commit b109d30Copy full SHA for b109d30
ghdoc.go
@@ -184,7 +184,7 @@ func (doc *GHDoc) GrabToc() *GHToc {
184
`(?P<name>.*?)<span`
185
}
186
if doc.reVersion == internal.GH_2024_03 {
187
- re = `(?si)<h(?P<num>[1-6]) class="heading-element">(?P<name>[^<]+)</h\d>` +
+ re = `(?si)<h(?P<num>[1-6]) class="heading-element">(?P<name>.*?)</h\d>` +
188
`<a\s*id="user-content-[^"]*"\s*` +
189
`class="[^"]*"\s*` +
190
`aria-label="[^"]*"\s*` +
0 commit comments