Commit b98bf82
tools: build API TOC using raw headers
Markdown interprets the syntax for optional arguments as a form
of a link, so instead of trying to build up the contents using
the node value, use grab the raw original markup instead.
Fixes regression noted in
#21490 (comment)
PR-URL: #21922
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>1 parent eabe907 commit b98bf82Copy full SHA for b98bf82
File tree
Expand file treeCollapse file tree
1 file changed
+4
-2
lines changedOpen diff view settings
Filter options
- tools/doc
Expand file treeCollapse file tree
1 file changed
+4
-2
lines changedOpen diff view settings
Collapse file
+4-2Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
340 | 340 | |
341 | 341 | |
342 | 342 | |
343 | | - |
344 | | - |
| 343 | + |
| 344 | + |
| 345 | + |
| 346 | + |
345 | 347 | |
346 | 348 | |
347 | 349 | |
|
0 commit comments