When the auto_escape option is set on Mojo::Template, it reverses this behavior; auto_escape is set by default for the EPRenderer template handler, which the rendering guide is referring to. I agree it is a bit confusing but I'm not sure the best way to clarify things.
On Wed, Nov 22, 2017 at 8:29 AM, Heiko Jansen <[email protected]> wrote: > Hi, > > just saw that POD in Mojo::Template says: > > <%= Perl expression, replaced with result %> > <%== Perl expression, replaced with XML escaped result %> > > while POD in Mojolicious::Guides::Rendering says: > > <%= Perl expression, replaced with XML escaped result %> > <%== Perl expression, replaced with result %> > > So the description in Mojo::Template needs to be corrected, doesn't it? > > Best > - Heiko > > -- > You received this message because you are subscribed to the Google Groups > "Mojolicious" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/mojolicious. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
