Skip to content

Commit 5991ed4

Browse files
kreuzbergerdanwos
authored andcommitted
all PR integrated
1 parent 81ac559 commit 5991ed4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sphinx_simplepdf/builders/simplepdf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,8 @@ def _toctree_fix(self, html):
186186
if len(headings) - 1 == number:
187187
class_attr.append("last")
188188

189+
heading.attrs["class"] = class_attr
190+
189191
return soup.prettify(formatter="html")
190192

191193

0 commit comments

Comments
 (0)