This commit is contained in:
Franco Masotti 2022-04-18 16:14:52 +02:00
parent 83f3fc657d
commit 9a05da331c
Signed by: frnmst
GPG Key ID: 24116ED85666780A
1 changed files with 1 additions and 1 deletions

View File

@ -854,7 +854,7 @@ def build_anchor_link(header_text_trimmed: str,
stripped = 0
inserted += 1
''.join(header_text_trimmed_middle_stage)
header_text_trimmed_middle_stage = ''.join(header_text_trimmed_middle_stage)
if stripped > 0 and inserted > 0:
header_text_trimmed_middle_stage = header_text_trimmed_middle_stage[
0:-1]