aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorRaymond Camden <raymondcamden@gmail.com>2013-05-01 14:44:53 -0500
committerRaymond Camden <raymondcamden@gmail.com>2013-05-01 14:44:53 -0500
commitb649c19af95d0494aa2127eb2069d2a7f108ab72 (patch)
tree1e073d49e74f3915b3238f76ebcd759ca56edb36 /js
parent0441c26be1bc0df805db9313827309a08c98487a (diff)
downloadfosdem-2018-presentation-b649c19af95d0494aa2127eb2069d2a7f108ab72.tar
fosdem-2018-presentation-b649c19af95d0494aa2127eb2069d2a7f108ab72.tar.gz
Moved my code to auto escape html to the right place
Diffstat (limited to 'js')
-rw-r--r--js/reveal.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/js/reveal.js b/js/reveal.js
index f9590d5..a4a71db 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -235,18 +235,6 @@ var Reveal = (function(){
dom.controlsNext = toArray( document.querySelectorAll( '.navigate-next' ) );
}
- //Auto scape code blocks
- var cblocks = document.querySelectorAll("pre code");
-
- if(cblocks.length) {
- for(var i=0, len=cblocks.length; i<len; i++) {
- var thisDom = cblocks[i];
- var html = thisDom.innerHTML;
- html = html.replace(/</g,"&lt;").replace(/>/g,"&gt;");
- thisDom.innerHTML = html;
- }
- }
-
}
/**