summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/changelog.asciidoc3
-rw-r--r--qutebrowser/browser/hints.py2
2 files changed, 5 insertions, 0 deletions
diff --git a/doc/changelog.asciidoc b/doc/changelog.asciidoc
index 3427a3757..8a48966c6 100644
--- a/doc/changelog.asciidoc
+++ b/doc/changelog.asciidoc
@@ -129,6 +129,9 @@ Fixed
black. If `content.site_specific_quirks` is enabled, qutebrowser now injects
some CSS as a workaround, which inverts all math formula images on Wikipedia
(and potentially other sites, if they use the same CSS class).
+- When a hint label text started with an apostrophe, it would show an escaped
+ text until the hints first character has been pressed. It now shows up
+ correctly.
[[v2.0.2]]
v2.0.2 (2021-02-04)
diff --git a/qutebrowser/browser/hints.py b/qutebrowser/browser/hints.py
index dd008d9c5..333c532d3 100644
--- a/qutebrowser/browser/hints.py
+++ b/qutebrowser/browser/hints.py
@@ -92,6 +92,8 @@ class HintLabel(QLabel):
self._context = context
self.elem = elem
+ self.setTextFormat(Qt.RichText)
+
# Make sure we can style the background via a style sheet, and we don't
# get any extra text indent from Qt.
# The real stylesheet lives in mainwindow.py for performance reasons..