Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jashkenas
on Dec 29, 2010
|
parent
|
context
|
favorite
| on:
Show HN: My first significant project with Backbon...
Yes. jQuery's text() method will properly escape HTML fragments.
It's just a bit more verbose and a bit slower than using .escape("attribute") within a template.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
It's just a bit more verbose and a bit slower than using .escape("attribute") within a template.