xslate / p5-Text-Xslate

Scalable template engine for Perl5
https://metacpan.org/release/Text-Xslate
Other
121 stars 47 forks source link

Unexpected HTML escaping in macro concatenation #174

Closed mikeraynham closed 7 years ago

mikeraynham commented 7 years ago

When macro A concatenates strings with the output of macro B, and both macros mark their output as raw, the strings from macro A are unexpectedly HTML escaped. This only happens with the concatenation operator when used inside a macro. HTML escaping is not applied if the join method is used instead of the concatenation operator, or if the concatenation operator is used outside of a macro.