Bob Mottram 2022-11-20 13:31:47 +00:00
parent 4e4532912b
commit d3355c2a79
1 changed files with 1 additions and 1 deletions

View File

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