Hi Lukasz and Greg. I think the change to escape the tag body HTML by default may have been a "defensive stance" for the tags ? Changing the default escaping behaviour to false might be better for some use cases, though.
Maybe the tag body escaping behaviour should still be true by default, but a configuration flag could allow developers to set the default escapeHtmlBody value for tags to a configured value (true or false). Something like that could be used, whether the default release escapeHtmlBody value is made true or false. Regards, James. On 2021/12/22 15:26:21 Lukasz Lenart wrote: > śr., 22 gru 2021 o 09:17 Greg Huber <gregh3...@gmail.com> napisał(a): > > > > ...escapeHtmlBody="false" on all my tags, what is the point? > > It was my idea, _better safe than sorry_, but that's why RC was > released to figure out what's better - we can change the default to > false > https://github.com/apache/struts/blob/master/core/src/main/java/org/apache/struts2/components/Anchor.java#L72 > > > Regards > -- > Łukasz > + 48 606 323 122 http://www.lenart.org.pl/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org > For additional commands, e-mail: dev-h...@struts.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org