merge-requests/30/head
Bob Mottram 2022-10-08 18:59:28 +01:00
parent 438dac3114
commit 025f701ec6
2 changed files with 3 additions and 3 deletions

View File

@ -362,7 +362,7 @@ blockquote {
quotes: "\201C""\201D""\2018""\2019";
}
blockquote tiktok-embed {
.tiktok-embed {
quotes: "";
}

View File

@ -48,7 +48,7 @@ def _add_embedded_video_from_sites(translate: {}, content: str,
if '?' in video_id:
video_id = video_id.split('?')[0]
content += \
'<center>\n<span itemprop="video">\n' + \
'<center>\n' + \
'<blockquote class="tiktok-embed" ' + \
'cite="https://www.tiktok.com/@' + \
channel + '/video/' + video_id + '" data-video-id="' + \
@ -60,7 +60,7 @@ def _add_embedded_video_from_sites(translate: {}, content: str,
'</section>\n</blockquote>\n' + \
'<script async ' + \
'src="https://www.tiktok.com/embed.js">\n' + \
'</script></span>\n</center>\n'
'</script>\n</center>\n'
return content
if '<iframe' in content: