mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-08-01 20:30:29 +02:00
null check for notes in markdown parser (#253)
This commit is contained in:
@@ -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 );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
})();
|
})();
|
Reference in New Issue
Block a user