This commit is contained in:
@@ -3928,6 +3928,7 @@ def render_page_header_html(data: dict, page: int, total: int) -> str:
|
||||
if qr:
|
||||
return (
|
||||
f'<a class="{classes}" href="{html_escape(target)}" '
|
||||
'target="_blank" rel="noopener noreferrer" '
|
||||
f'aria-label="{html_escape(label)}: otwórz {html_escape(target)}">'
|
||||
f'{qr}</a>'
|
||||
)
|
||||
@@ -4458,6 +4459,7 @@ def render_title_block_html(data: dict) -> str:
|
||||
qr = qr_svg(str(fields["url"])) if fields["show_qr"] else ""
|
||||
qr_cell = (
|
||||
f'<a class="title-qr-cell" href="{html_escape(str(fields["url"]))}" '
|
||||
'target="_blank" rel="noopener noreferrer" '
|
||||
f'aria-label="Otwórz adres z kodu QR">{qr}</a>'
|
||||
if qr
|
||||
else '<div class="title-qr-cell title-qr-empty"><span>QR</span><strong>'
|
||||
|
||||
Reference in New Issue
Block a user