Re: Mason2: no default HTML escaping

Pedro Melo <[email protected]>
Newsgroups gmane.comp.web.mason.user
Message-ID <CACCxPi2RTnsCtk5_8R1obYWS2jN1HA-c92fsAbpsH0DbMJTc5Q@mail.gmail.com>
Hi,

On Wed, May 9, 2012 at 9:16 PM, Stephen Clouse <[email protected]> wrote:
> Note, again, that Mason is a *general-purpose* template language, not
> necessarily a *web* template language.

True, but most of Mason use is to generate Web pages, so I would
suggest that the most common case should be correct by default.

Either way I'm happy with the changes Jon did to mention DefaultFilter
more often in the documentation. I still believe HTML escaping should
be on by default to cover the most common case ("simple things should
be easy, hard things should be possible" and all that...) but I'm
content with the current text in the docs. I'm also happy to see Jon
mentioning that Poet might default to escape HTML.

Bye,
-- 
Pedro Melo
@pedromelo
http://www.simplicidade.org/
http://about.me/melo
xmpp:[email protected]
mailto:[email protected]

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.