Skip to content

Commit 332ce86

Browse files
committed
null check for notes in markdown parser (#253)
1 parent 4009f26 commit 332ce86

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugin/markdown/markdown.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@
2929

3030
section.innerHTML = (new Showdown.converter()).makeHtml(text);
3131

32-
section.appendChild( notes );
32+
if( notes ) {
33+
section.appendChild( notes );
34+
}
3335
}
3436

3537
})();

0 commit comments

Comments
 (0)