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

Merge branch 'patch-1' of https://github.com/asmod3us/reveal.js into dev

parents c438ba65 f095af21
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@
var template = section.querySelector( 'script' );
// strip leading whitespace so it isn't evaluated as code
var text = ( template || section ).innerHTML;
var text = ( template || section ).textContent;
var leadingWs = text.match(/^\n?(\s*)/)[1].length,
leadingTabs = text.match(/^\n?(\t*)/)[1].length;
......
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