Switch to render methods - this gives us the "processed" output

This commit is contained in:
Remy Sharp 2012-06-16 18:43:15 +01:00
parent 6b36c00c23
commit 0fa7f87e5d

View File

@ -67,15 +67,15 @@ function getPreparedCode() {
close = '';
try {
source = editors.html.getCode();
source = editors.html.render();
} catch (e) {}
try {
js = editors.javascript.getCode();
js = editors.javascript.render();
} catch (e) {}
try {
css = editors.css.getCode();
css = editors.css.render();
} catch (e) {}
// redirect JS console logged to our custom log while debugging