https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36171

--- Comment #21 from Kevin Carnes <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to