From e9ae129f351b2d8a2960e8439cc3952817c5de80 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 8 Oct 2022 17:04:52 +0100 Subject: [PATCH] Tiktok blockquote --- epicyon-profile.css | 5 +++++ webapp_media.py | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/epicyon-profile.css b/epicyon-profile.css index 1d7c44c58..ac5a7bd2c 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -361,6 +361,11 @@ blockquote { font-size: var(--quote-font-size); quotes: "\201C""\201D""\2018""\2019"; } + +blockquote tiktok-embed { + quotes: ""; +} + blockquote:before { content: open-quote; font-size: 2em; diff --git a/webapp_media.py b/webapp_media.py index b19fc9a40..e7cb9aa58 100644 --- a/webapp_media.py +++ b/webapp_media.py @@ -49,11 +49,16 @@ def _add_embedded_video_from_sites(translate: {}, content: str, video_id = video_id.split('?')[0] content += \ '
\n\n' + \ + '
\n' + \ '
\n' + \ '@' + channel + '\n' + \ - '
\n' + \ + '\n
\n' + \ '
\n
\n'