From 7dc124d688017332b5bd20420c4521df0d419756 Mon Sep 17 00:00:00 2001 From: Cyrille L Date: Mon, 19 Dec 2022 12:39:50 +0100 Subject: [PATCH] Indev for quotes --- src/var/lib/tyto/program/wip.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/var/lib/tyto/program/wip.py b/src/var/lib/tyto/program/wip.py index d3cc65d..558e86a 100644 --- a/src/var/lib/tyto/program/wip.py +++ b/src/var/lib/tyto/program/wip.py @@ -331,14 +331,21 @@ def wip_quotes() : if quote_html: quote_html = '%s\n%s'%(quote_html,qline) else: quote_html = qline + + if lang: + lang = ' lang="%s"'%lang if author: - quote_html = '
\n'%set_css + \ - '
\n' + \ + quote_html = '
' + \ + '
\n'%( + set_css, lang + ) + \ '%s\n'%quote_html + \ '
\n' + \ '
' else: - quote_html = '
\n'%set_css + \ + quote_html = '
\n'%( + set_css, lang + ) + \ '%s\n'%quote_html + \ '
'