Skip to content

Commit

Permalink
Fix link issue (#44)
Browse files Browse the repository at this point in the history
Fix link issue

Reviewed-by: Tino Schr
  • Loading branch information
SebastianGode authored Dec 9, 2024
1 parent 69db411 commit 302facf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion otc_sphinx_directives/service_card.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def service_card_html(self, node):
try:
if doc["pdf_enabled"]:
data += (f'''
<scale-button variant="secondary" class="pdf-button-sbv" href="/{node['service_type']}-{doc["type"]}.pdf" target="_blank">
<scale-button variant="secondary" class="pdf-button-sbv" href="{node['service_type']}-{doc["type"]}.pdf" target="_blank">
<scale-icon-user-file-pdf-file accessibility-title="pdf-file"></scale-icon-user-file-pdf-file>
<span style="font-weight: normal;">Download PDF</span>
</scale-button>
Expand Down

0 comments on commit 302facf

Please sign in to comment.