Add article tags

merge-requests/8/head
Bob Mottram 2020-12-27 14:04:48 +00:00
parent 48fbe27849
commit 908e6b5c84
1 changed files with 2 additions and 0 deletions

View File

@ -1482,6 +1482,8 @@ def individualPostAsHtml(allowDownloads: bool,
objectContent = \
postJsonObject['object']['content']
objectContent = '<article>' + objectContent + '</article>'
if not postIsSensitive:
contentStr = objectContent + attachmentStr
contentStr = addEmbeddedElements(translate, contentStr,