Indev for quotes

This commit is contained in:
Cyrille L 2022-12-19 12:39:50 +01:00
parent 4ea481bbf1
commit 7dc124d688
1 changed files with 10 additions and 3 deletions

View File

@ -331,14 +331,21 @@ def wip_quotes() :
if quote_html: quote_html = '%s\n%s'%(quote_html,qline) if quote_html: quote_html = '%s\n%s'%(quote_html,qline)
else: quote_html = qline else: quote_html = qline
if lang:
lang = ' lang="%s"'%lang
if author: if author:
quote_html = '<figure class="%s">\n'%set_css + \ quote_html = '<figure>' + \
'<blockquote>\n' + \ '<blockquote class="%s"%s>\n'%(
set_css, lang
) + \
'%s\n'%quote_html + \ '%s\n'%quote_html + \
'</blockquote>\n' + \ '</blockquote>\n' + \
'</figure>' '</figure>'
else: else:
quote_html = '<blockquote class="%s">\n'%set_css + \ quote_html = '<blockquote class="%s"%s>\n'%(
set_css, lang
) + \
'%s\n'%quote_html + \ '%s\n'%quote_html + \
'</blockquote>' '</blockquote>'