Skip to content

Commit 50c98cb

Browse files
committed
Add more characters that don't need a space to break token
1 parent a830fd4 commit 50c98cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/python_minifier/expression_printer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ def token_break(self):
772772
if len(self.code) == 0:
773773
return
774774

775-
if self.code[-1] not in '[]{}() :"\'=\n\t':
775+
if self.code[-1] not in '[]{}() :"\'=\n\t<>|^&+-*@/%':
776776
self.code += ' '
777777

778778
def visit_JoinedStr(self, node):

0 commit comments

Comments
 (0)