https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36171 --- Comment #21 from Kevin Carnes <kevin.carnes@ub.lu.se> --- Here is an attempt at repairing split template toolkit tags. If a text block begins with the end of a tag, it goes back through the tokens to try to find the beginning and combine them into a directive token. I also included a list of the "repairs". It looks like the action block for the virtual shelves results would need to use I18N.t for translation and doc-head-open would need to use Dumper.dump_html instead of filtering (the '-->' is confusing the parser). If this is not reasonable, I can limit it to SET tags. Another option is to slurp the file, remove the tags, and then use $self->parse instead of $self->parse_file. I would appreciate any feedback and testing since this was done on a Friday afternoon. -- You are receiving this mail because: You are watching all bug changes.