From e7b59f72ee050e11e00d9a1b9646f02d9fb638ef Mon Sep 17 00:00:00 2001
From: Flancian <0@flancia.org>
Date: Sun, 10 Jan 2021 21:06:20 +0100
Subject: [PATCH] Fix image size (use max-width).
---
app/db.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/db.py b/app/db.py
index bdd0cd8..6489e19 100644
--- a/app/db.py
+++ b/app/db.py
@@ -239,7 +239,7 @@ class Subnode:
if self.mediatype != 'text/plain':
# hack hack
#return 'This is a subnode of type {}. You can view it.'.format(self.mediatype, self.uri)
- return '
'.format(self.uri)
+ return '
'.format(self.uri)
if self.uri.endswith('md') or self.uri.endswith('MD'):
content = render.markdown(self.content)
if self.uri.endswith('org') or self.uri.endswith('ORG'):