MauricioDinki / django-atom

Django package for atom
12 stars 8 forks source link

Unexpected code modification when saving #10

Closed Zack-83 closed 6 years ago

Zack-83 commented 6 years ago

Hallo, Atom behaves strangely when dealing with a Django HTML file which uses the |length filter within a {% ... %} tag. Upon saving, the program creates two spaces around the pipe character, thus yielding variable | length. As a consequence, the Django interpreter does not parse the code correctly and yields an error message. Does it depend on Atom itself or on the Django-Atom package?

Zack-83 commented 6 years ago

A colleague of mine has solved the problem. It was related to another package: atom-bautify. Sorry for disturbing!