News for hackers. Stuff that matters.
Re:JS Humanize (Give data a human touch) by sirn on Monday April 16, 2012 @01:16AM (#3846011)
Nice idea, but seems to lack of any input escaping.

    => Humanize.truncatechars("<script>alert('yo');<\/script>", 30)
       "<script>alert('yo');</script>"

    => Humanize.linebreaks("<script>alert('yo');<\/script>")
       "<p><script>alert('yo');</script></p>"
Bug filed.
Re:JS Humanize (Give data a human touch) by mvrekic on Monday April 16, 2012 @01:24AM (#3846026)
Thanks. I am on it.