From faa802ac5b92869d3f7dcf00c556168dff0a78c5 Mon Sep 17 00:00:00 2001 From: Vitaly Puzrin Date: Mon, 27 Apr 2015 05:24:42 +0300 Subject: [PATCH] More restrictions permalink chars --- support/demo_template/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/demo_template/index.js b/support/demo_template/index.js index 0d10371..39f40ea 100644 --- a/support/demo_template/index.js +++ b/support/demo_template/index.js @@ -144,7 +144,7 @@ function updateResult() { permalink.href = '#md3=' + mdurl.encode(JSON.stringify({ source: source, defaults: _.omit(defaults, 'highlight') - }), mdurl.encode.componentChars, false); + }), '-_.!~', false); } else { permalink.href = ''; }