We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6c2d102 + f903ecf commit f6dcc89Copy full SHA for f6dcc89
sphinxcontrib/confluencebuilder/storage/translator.py
@@ -282,7 +282,8 @@ def visit_title(self, node):
282
# repsective document name) which helps allow `ac:link` macros
283
# properly link when coming from v1 or v2 editor pages.
284
if self.v2 and 'names' in node.parent:
285
- for anchor in node.parent['names']:
+ for name in node.parent['names']:
286
+ anchor = name.replace(' ', '-')
287
target_name = f'{docname}/#{anchor}'
288
target = self.state.target(target_name)
289
if target and target not in new_targets:
0 commit comments