No leading newlines

main
Bob Mottram 2021-11-07 10:48:56 +00:00
parent a940719a34
commit 1fffb62523
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ def _htmlPostMetadataOpenGraph(domain: str, postJsonObject: {}) -> str:
"\" property=\"og:published_time\" />\n"
if not objJson.get('attachment'):
if objJson.get('content'):
description = '\n\n' + removeHtml(objJson['content'])
description = removeHtml(objJson['content'])
metadata += \
"<meta content='" + description + "' name='description'>\n"
metadata += \