diff --git a/TODO.md b/TODO.md
index b9455483..e0c69259 100644
--- a/TODO.md
+++ b/TODO.md
@@ -14,6 +14,7 @@
- When qml syntax highlighting supports string interpolation, use them
- Fixes
+ - `
`, need to add width attribute
- Keyboard flicking against top/bottom edge
- Don't strip user spacing in html
- Past events loading (limit 100) freezes the GUI - need to move upsert func
diff --git a/src/python/html_filter.py b/src/python/html_filter.py
index 061eac08..b3676c7e 100644
--- a/src/python/html_filter.py
+++ b/src/python/html_filter.py
@@ -111,6 +111,7 @@ class HtmlFilter:
attributes = {**inlines_attributes, **{
"img": {"width", "height", "alt", "title", "src"},
"ol": {"start"},
+ "hr": {"width"},
}}
return {
diff --git a/src/qml/Theme.qml b/src/qml/Theme.qml
index ff74d69f..47d959f5 100644
--- a/src/qml/Theme.qml
+++ b/src/qml/Theme.qml
@@ -120,11 +120,17 @@ QtObject {
property color date: colors.foregroundDim
property color link: colors.accentDarker
+ // property color code: Ut.hsl(0, 0, 80)
+ // property color codeBackground: Ut.hsl(0, 0, 10)
+ property color code: Ut.hsl(265, 60, 35)
property color greenText: Ut.hsl(80, 60, 25)
property string styleSheet:
"a { color: " + link + " }" +
+ "code { font-family: " + fontFamily.mono + "; " +
+ "color: " + code + " }" +
+
"h1, h2 { font-weight: normal }" +
"h6 { font-size: small }" +