Skip to content

Commit

Permalink
fixes #389
Browse files Browse the repository at this point in the history
original fix suggested by @LauraLMann in #389 (comment)

Signed-off-by: Patrik Drozdík <patrik.drozdik@gmail.com>
  • Loading branch information
Patrik112358 authored Jan 5, 2025
1 parent 96221e1 commit 617728c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdoc/templates/pdf.mako
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
%>

<%def name="title(level, string, id=None)">
<% id = f' {{#id}}' if id is not None else '' %>
<% id = f' {{#{id}}}' if id is not None else '' %>
${('#' * level) + ' ' + string + id}
</%def>

Expand Down

0 comments on commit 617728c

Please sign in to comment.