aboutsummaryrefslogtreecommitdiff
path: root/tools/template.html
diff options
context:
space:
mode:
Diffstat (limited to 'tools/template.html')
-rw-r--r--tools/template.html6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/template.html b/tools/template.html
index 78614db..10bbdb5 100644
--- a/tools/template.html
+++ b/tools/template.html
@@ -73,10 +73,8 @@ $$(document).ready(function() {
$$("div.example").each(function(e) {
var t = $$(this).find('code.language-markdown').text();
$$(this).find('a.dingus').click(function(f) {
- window.open('/dingus/#md64=' +
- window.btoa(JSON.stringify({
- source: t.replace(/→/g,"\t"),
- defaults: {}})));
+ window.open('/dingus.html?text=' +
+ encodeURIComponent(t.replace(/→/g,"\t")));
});
});
$$("code.language-markdown").dblclick(function(e) { window.open('/dingus.html?text=' +