null check for notes in markdown parser (#253)
This commit is contained in:
1 parent
4009f2601e
commit
332ce86c3a
1 file changed
+3
-1
@@ -29,7 +29,9 @@
|
||||
|
||||
section.innerHTML = (new Showdown.converter()).makeHtml(text);
|
||||
|
||||
section.appendChild( notes );
|
||||
if( notes ) {
|
||||
section.appendChild( notes );
|
||||
}
|
||||
}
|
||||
|
||||
})();
|
||||
Reference in new issue
Block a user