projects
/
reveal.js.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4009f26
)
null check for notes in markdown parser (#253)
author
Hakim El Hattab
<hakim.elhattab@gmail.com>
Fri, 16 Nov 2012 14:29:25 +0000
(09:29 -0500)
committer
Hakim El Hattab
<hakim.elhattab@gmail.com>
Fri, 16 Nov 2012 14:29:32 +0000
(09:29 -0500)
plugin/markdown/markdown.js
patch
|
blob
|
history
diff --git
a/plugin/markdown/markdown.js
b/plugin/markdown/markdown.js
index 6331171a72785f78f3b1fce33eca6a1f7d3c12d9..b1660a1b39ab6a1704b70ebc855b960889114567 100644
(file)
--- a/
plugin/markdown/markdown.js
+++ b/
plugin/markdown/markdown.js
@@
-29,7
+29,9
@@
section.innerHTML = (new Showdown.converter()).makeHtml(text);
- section.appendChild( notes );
+ if( notes ) {
+ section.appendChild( notes );
+ }
}
})();
\ No newline at end of file