Re: Mason2: no default HTML escaping

Stephen Clouse <[email protected]>
Newsgroups gmane.comp.web.mason.user
Message-ID <CAH0yPs3fBtx7G_Noo1suupCJ=O-xSuJEr5b=hfk5uRvWaKCK4w@mail.gmail.com>
On Wed, May 9, 2012 at 11:39 AM, Jonathan Swartz <[email protected]> wrote:

> This has got to be a common web template conundrum. Anyone know how Rails
> or Django solves it?
>

In Django's case, by forcing the user's hand (escaping by default, must be
explicitly disabled through template notation).

Rails apparently either does or doesn't, depending on the version.  More
recent versions act like Django.

As you noted, escaping by default would be fine and largely a non-argument
if Mason were explicitly a Web template language, but it's not.

-- 
Stephen Clouse <[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/

_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users
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.