[windup-dev] Escaping in templates - <#escape x as x?html>

Rodney Russ rruss at redhat.com
Thu Sep 17 13:28:59 EDT 2015


I like the summary you provided in our stand-up, Ondrej.  Do you have 
that documented somewhere to use for this discussion?

On 16 Sep 2015, at 17:38, Ondrej Zizka wrote:

> Some of the values contain HTML, like, for instance, the titles.
>
> We are inconsistent in certain places what should the value be.
>
> I suggest that we add that to the javadoc where appropriate, add the
> <#escape ...>, and add <#noescape> where needed. That's IMO better 
> than
> adding ?html everywhere.
>
> Ondra
>
>
> On 16.9.2015 06:44, Ing. Ondřej Žižka wrote:
>> I think we should add <#escape x as x?html> to all templates - unless
>> there's a reason not to. Is there?
>>
>> This directive makes all ${...}'s HTML-escaped.
>>
>> Regards,
>> Ondra
>> _______________________________________________
>> windup-dev mailing list
>> windup-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/windup-dev
>
> _______________________________________________
> windup-dev mailing list
> windup-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/windup-dev


More information about the windup-dev mailing list