Commit 75ff8e6
tools: improve section tag additions in HTML doc generator
There is an edge case involving GFM footnotes where our current code
adds an empty section which results in a warning (but not an error) in
HTML validators. This change causes the HTML generator to skip the
unnecessary addition of a section tag in that one edge case.
PR-URL: #41318
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>1 parent 5cfc547 commit 75ff8e6Copy full SHA for 75ff8e6
File tree
Expand file treeCollapse file tree
1 file changed
+6
-2
lines changedOpen diff view settings
Filter options
- tools/doc
Expand file treeCollapse file tree
1 file changed
+6
-2
lines changedOpen diff view settings
Collapse file
+6-2Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
73 | 73 | |
74 | 74 | |
75 | 75 | |
76 | | - |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
77 | 81 | |
78 | 82 | |
79 | | - |
| 83 | + |
80 | 84 | |
81 | 85 | |
82 | 86 | |
|
0 commit comments