https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39085 Bug ID: 39085 Summary: No space preserved incorrecly after END Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: koha-bugs@lists.koha-community.org Reporter: jonathan.druart@gmail.com QA Contact: testopia@bugs.koha-community.org Depends on: 38664 The prettier plugin cannot guess if the absence of space was needed, so it got preserved. However in some cases it's not needed. Eg. koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt + [% END %]</li + > We could move the closing li on a separate line for better indentation and readability. Also the closing title almost everywhere: -[% END %]</title> If we don't want spaces we need to CHOMP List the candidates with `git grep -P 'END %][^\s|>|;|)|"|[]' **/*.tt` Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38664 [Bug 38664] Tidy the whole codebase -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.