Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Ah -- I didn't know about that. I was just putting my script tags in strings. Thanks!

The More You Know


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.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: