summaryrefslogtreecommitdiff
path: root/qutebrowser/html
diff options
context:
space:
mode:
authoruser202729 <25191436+user202729@users.noreply.github.com>2018-12-02 22:56:44 +0700
committeruser202729 <25191436+user202729@users.noreply.github.com>2018-12-02 22:56:44 +0700
commite81f070a7929e6c7a1f4ff097c7106a5d256d90e (patch)
tree8134157620f60c9f80ffbb23c62ef4bc9297ec03 /qutebrowser/html
parent4d8c8a5d92d3d4abbbb2f03e5790c24beed03e65 (diff)
downloadqutebrowser-e81f070a7929e6c7a1f4ff097c7106a5d256d90e.tar.gz
qutebrowser-e81f070a7929e6c7a1f4ff097c7106a5d256d90e.zip
Use tojson filter to convert url to Javascript string
Fixes #4450.
Diffstat (limited to 'qutebrowser/html')
-rw-r--r--qutebrowser/html/error.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/qutebrowser/html/error.html b/qutebrowser/html/error.html
index b3e6f576e..e03ddad67 100644
--- a/qutebrowser/html/error.html
+++ b/qutebrowser/html/error.html
@@ -61,7 +61,7 @@ li {
{{ super() }}
function tryagain()
{
- location.href = "{{ url }}";
+ location.href = {{ url|tojson }};
}
{% endblock %}