tools,doc: allow page titles to contain inline code · nodejs/node@b6f3ae8 · GitHub
Skip to content

Commit b6f3ae8

Browse files
aduh95richardlau
authored andcommitted
tools,doc: allow page titles to contain inline code
Previously the HTML title would be cut to the first text node only. PR-URL: #35003 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
1 parent a420184 commit b6f3ae8

3 files changed

Lines changed: 27 additions & 23 deletions

File tree

test/doctool/test-doctool-html.js

Lines changed: 16 additions & 18 deletions
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Sample `markdown` with _special_ **heading**
2+
3+
Sometimes heading contains more than just one text child, the current file is
4+
there to test just that.

tools/doc/html.js

Lines changed: 7 additions & 5 deletions

0 commit comments

Comments
 (0)