News for hackers. Stuff that matters.
Re:HAML Brings Seaside To Ruby by rufo on Monday January 19, 2009 @07:24PM (#441119)
I read your comment, and was a bit taken aback.. "isn't that what :javascript is for?"

Reading through the comments, though, :javascript was developed specifically in response to that post - it wraps everything indented in script tags, and does the right thing with special characters/etc.

Re:HAML Brings Seaside To Ruby by jraines on Monday January 19, 2009 @07:30PM (#441127)
Ah -- I didn't know about that. I was just putting my script tags in strings. Thanks!

The More You Know

Re:HAML Brings Seaside To Ruby by rufo on Monday January 19, 2009 @07:34PM (#441130)
No problem. I don't think I caught it until I went through the Haml docs a second or third time - lots of handy little tidbits floating around in there I missed the first time.