Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
bluesnowmonkey
· 14y ago · 0 comments
Wow, they had to write their own code to do localization safely with regard to XSS. I'm surprised that's not already available off the shelf.
Comments
[–]
jamessocol
14y ago
It's the weird combination of gettext, HTML, and user-supplied data that causes problems. But yeah, kind of surprising there isn't already something. That's why we moved the |fe filter up to jingo, as high and shared as we could.