Skip to content

Commit

Permalink
Update __init__.py (#88)
Browse files Browse the repository at this point in the history
Fix missing possible end spacer on caca2tlf converted fonts. (final '@ ' on every char lines)
  • Loading branch information
oto-ledger authored Sep 16, 2022
1 parent a6559b2 commit a90585a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyfiglet/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def __char(data):
line = data.pop(0)
if end is None:
end = self.reEndMarker.search(line).group(1)
end = re.compile(re.escape(end) + r'{1,2}$')
end = re.compile(re.escape(end) + r'{1,2}\s*$')

line = end.sub('', line)

Expand Down

0 comments on commit a90585a

Please sign in to comment.