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