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'):