Skip Menu |

This queue is for tickets about the Template-Toolkit CPAN distribution.

Report information
The Basics
Id: 49264
Status: resolved
Priority: 0/
Queue: Template-Toolkit

People
Owner: Nobody in particular
Requestors: ddascalescu+perl [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.22
Fixed in: 2.22



Subject: Can't apply filters to just one variable
I want to HTML-filter a variable which is part of a longer string: [% title = some_html _ (user-input | html) %] That, unfortunately, will fail with a parse error: unexpected token (|) If I remove the parentheses, the whole right side of the assignment is HTML-filtered, which is not desired.
Ticket migrated to github as https://github.com/abw/Template2/issues/85