16 Apr
2026
16 Apr
'26
1:14 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35267 --- Comment #196 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- The tidy script runs Prettier on the template, and Prettier's CSS parser chokes on: <style nonce="[% Koha.CSPNonce | $raw %]">[% all_notice_css | $raw %]</style> It tries to parse [% all_notice_css | $raw %] as CSS and fails with CssSyntaxError: Unknown word. This is a Template Toolkit variable being injected as raw CSS — Prettier fundamentally cannot parse this. The tidy tool itself confirms "Some files cannot be tidied" and exits with the same error. This is a false catch in the QA script in my opinion. -- You are receiving this mail because: You are watching all bug changes.