diff --git a/qutebrowser/utils/jinja.py b/qutebrowser/utils/jinja.py index f2dbbfe5f..16ccb2959 100644 --- a/qutebrowser/utils/jinja.py +++ b/qutebrowser/utils/jinja.py @@ -23,6 +23,7 @@ import os import os.path import traceback import mimetypes +import html import jinja2 import jinja2.exceptions @@ -31,7 +32,7 @@ from qutebrowser.utils import utils, urlutils, log from PyQt5.QtCore import QUrl -html_fallback = ''' +html_fallback = """
@@ -57,8 +58,8 @@ html_fallback = '''The error.html template could not be found!
Please check your qutebrowser installation
'''
-html_fallback2 = '''
The error.html template could not be found!
Please check your qutebrowser installation
+%ERROR%
{{ error }}