diff options
author | user202729 <25191436+user202729@users.noreply.github.com> | 2018-12-02 22:56:44 +0700 |
---|---|---|
committer | user202729 <25191436+user202729@users.noreply.github.com> | 2018-12-02 22:56:44 +0700 |
commit | e81f070a7929e6c7a1f4ff097c7106a5d256d90e (patch) | |
tree | 8134157620f60c9f80ffbb23c62ef4bc9297ec03 /qutebrowser/html | |
parent | 4d8c8a5d92d3d4abbbb2f03e5790c24beed03e65 (diff) | |
download | qutebrowser-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.html | 2 |
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 %} |