diff --git a/allzweckmesser/scanner.py b/allzweckmesser/scanner.py index 0b2d3eefede6daf678a25b1d21902d40cafb647e..5d02d1df8e2588714424351697879eb66c6c4eab 100644 --- a/allzweckmesser/scanner.py +++ b/allzweckmesser/scanner.py @@ -97,6 +97,7 @@ def blow_up_accented(accented): blueprint = [accented[:matches[0].start()]] for m in matches: blueprint.append('{}') + blueprint.append(accented[matches[-1].end():]) blueprint = ''.join(blueprint) # Fill blueprint with variants of accented form.