Open
Description
As soon as there are German characters in the file the formatter throws an error:
Users/meingrundeinkommen/.rbenv/versions/3.3.7/lib/ruby/gems/3.3.0/gems/erb-formatter-0.7.3/lib/erb/formatter.rb:101:in `gsub!': invalid byte sequence in US-ASCII (ArgumentError)
@source.gsub!(ERB_PLACEHOLDER) { |tag| build_uid[].tap { |uid| pre_placeholders[uid] = tag } }
^^^^^^^^^^^^^^^
To reproduce add characters like ß
, ö
, ä
or ü
to a valid file and it should reproduce this error.
Metadata
Metadata
Assignees
Labels
No labels