Skip to content

Commit 7985f1f

Browse files
committed
bpo-43570: Doc: Fix i18n issue with audit hooks.
1 parent 32eba61 commit 7985f1f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Doc/tools/extensions/pyspecific.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,8 @@ def run(self):
223223

224224
info['source'].append((env.docname, target))
225225

226+
if self.content:
227+
text = '\n'.join(self.content)
226228
pnode = nodes.paragraph(text, classes=["audit-hook"], ids=ids)
227229
pnode.line = self.lineno
228230
if self.content:

0 commit comments

Comments
 (0)