Don't need backslashes

main
Bob Mottram 2022-11-20 13:37:55 +00:00
parent fedc37bcfe
commit f86dffe420
1 changed files with 2 additions and 2 deletions

View File

@ -123,10 +123,10 @@ def _html_post_metadata_open_graph(domain: str, post_json_object: {},
obj_json = post_json_object['object']
if obj_json.get('id'):
metadata += " <meta name=\"DC.identifier\" " + \
"scheme=\"DCTERMS.URI\" content=\"" + obj_json['id'] + "\" />\n"
"scheme=\"DCTERMS.URI\" content=\"" + obj_json['id'] + "\">\n"
if obj_json.get('summary'):
metadata += " <meta name=\"DC.title\" " + \
"content=\"" + obj_json['summary'] + "\" />\n"
"content=\"" + obj_json['summary'] + "\">\n"
if obj_json.get('attributedTo'):
if isinstance(obj_json['attributedTo'], str):
attrib = obj_json['attributedTo']