diff --git a/booru_viewer/gui/app.py b/booru_viewer/gui/app.py
index 7b1faa9..14ddbca 100644
--- a/booru_viewer/gui/app.py
+++ b/booru_viewer/gui/app.py
@@ -209,14 +209,12 @@ class InfoPanel(QWidget):
source_html = source_display
from html import escape
self._details.setText(
- f"Size: {post.width}x{post.height}\n"
f"Score: {post.score}\n"
f"Rating: {post.rating or 'unknown'}\n"
f"Filetype: {filetype}"
)
self._details.setTextFormat(Qt.TextFormat.RichText)
self._details.setText(
- f"Size: {post.width}x{post.height}
"
f"Score: {post.score}
"
f"Rating: {escape(post.rating or 'unknown')}
"
f"Filetype: {filetype}
"