Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e6bdb61

Browse filesBrowse files
mithun-daajasnell
authored andcommitted
docs: fix man pages link if tok type is code
Do not call the linkManPages if the tok type is code Fixes: #5686 PR-URL: #5721 Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent d829028 commit e6bdb61
Copy full SHA for e6bdb61

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎tools/doc/html.js‎

Copy file name to clipboardExpand all lines: tools/doc/html.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ function render(lexed, filename, template, cb) {
110110
// for example, link man page references to the actual page
111111
function parseText(lexed) {
112112
lexed.forEach(function(tok) {
113-
if (tok.text) {
113+
if (tok.text && tok.type !== 'code') {
114114
tok.text = linkManPages(tok.text);
115115
}
116116
});

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.