Skip to content

Commit 74445b6

Browse files
committed
Merge pull request documentationjs#450 from monkbroc/patch-1
No context for narrative sections
2 parents 8a5c1b8 + 6ae89c6 commit 74445b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/output/markdown_ast.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ function commentsToAST(comments, opts, callback) {
126126
}
127127

128128
function githubLink(comment) {
129-
return comment.context.github && u('paragraph', [
129+
return comment.context && comment.context.github && u('paragraph', [
130130
u('link', {
131131
title: 'Source code on GitHub',
132132
url: comment.context.github

0 commit comments

Comments
 (0)