> > Also what is the significance of the ":" in $:form.render(). As per > > the documents it is used to avoid escaping of HTML code. Here form is > > a python object right and we call an associated function. Why do we > > need the colon there ? > > $ outputs the results of statements and expressions. It automatically > escapes any HTML tags to prevent XSS attacks. However, sometimes you > do want to output HTML, and that's what colon is for. It must appear > right after the $ sign. > > -- Got the 1st part but can you please explain the second Q with an eg. Was there any need in the above eg. to use the colon. ... I will also experiment with it but is good to know what to expect.
-- You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to we...@googlegroups.com. To unsubscribe from this group, send email to webpy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.