mirror of https://gitlab.com/bashrc2/epicyon
html metadata indentation
parent
1fffb62523
commit
d7cd151f04
|
@ -114,7 +114,8 @@ def _htmlPostMetadataOpenGraph(domain: str, postJsonObject: {}) -> str:
|
||||||
metadata += \
|
metadata += \
|
||||||
" <meta content='" + description + "' name='description'>\n"
|
" <meta content='" + description + "' name='description'>\n"
|
||||||
metadata += \
|
metadata += \
|
||||||
"<meta content='" + description + "' name='og:description'>\n"
|
" <meta content='" + description + \
|
||||||
|
"' name='og:description'>\n"
|
||||||
return metadata
|
return metadata
|
||||||
|
|
||||||
# metadata for attachment
|
# metadata for attachment
|
||||||
|
@ -140,7 +141,8 @@ def _htmlPostMetadataOpenGraph(domain: str, postJsonObject: {}) -> str:
|
||||||
metadata += \
|
metadata += \
|
||||||
" <meta content='" + description + "' name='description'>\n"
|
" <meta content='" + description + "' name='description'>\n"
|
||||||
metadata += \
|
metadata += \
|
||||||
"<meta content='" + description + "' name='og:description'>\n"
|
" <meta content='" + description + \
|
||||||
|
"' name='og:description'>\n"
|
||||||
metadata += \
|
metadata += \
|
||||||
" <meta content=\"" + attachJson['url'] + \
|
" <meta content=\"" + attachJson['url'] + \
|
||||||
"\" property=\"og:image\" />\n"
|
"\" property=\"og:image\" />\n"
|
||||||
|
|
Loading…
Reference in New Issue