mirror of https://gitlab.com/bashrc2/epicyon
No span
parent
438dac3114
commit
025f701ec6
|
@ -362,7 +362,7 @@ blockquote {
|
|||
quotes: "\201C""\201D""\2018""\2019";
|
||||
}
|
||||
|
||||
blockquote tiktok-embed {
|
||||
.tiktok-embed {
|
||||
quotes: "";
|
||||
}
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue