Skip to content
Snippets Groups Projects
Commit 332ce86c authored by Hakim El Hattab's avatar Hakim El Hattab
Browse files

null check for notes in markdown parser (#253)

parent 4009f260
No related branches found
No related tags found
No related merge requests found
...@@ -29,7 +29,9 @@ ...@@ -29,7 +29,9 @@
section.innerHTML = (new Showdown.converter()).makeHtml(text); section.innerHTML = (new Showdown.converter()).makeHtml(text);
section.appendChild( notes ); if( notes ) {
section.appendChild( notes );
}
} }
})(); })();
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment