diff options
-rw-r--r-- | server/templates/server/doc_create.html | 3 | ||||
-rw-r--r-- | version.txt | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/server/templates/server/doc_create.html b/server/templates/server/doc_create.html index 908d1eb..6ba708c 100644 --- a/server/templates/server/doc_create.html +++ b/server/templates/server/doc_create.html @@ -200,7 +200,8 @@ $(document).ready(function(){ function preview() { var param = document.getElementById("param").value; - var param_base64 = btoa(param); + let utf8Encode = new TextEncoder(); + var param_base64 = btoa(String.fromCharCode.apply(null, new Uint8Array(utf8Encode.encode(param)))); window.open("{%url 'custom_parameters_preview' %}?param=" + param_base64); } {% endblock %}
\ No newline at end of file diff --git a/version.txt b/version.txt index 9736897..9553714 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ version=0.6 -rev=13 +rev=14 |