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

Using character entities, e.g. & to give an &, works on submitting the comment, but editing the comment populates the form's area with an unescaped ampersand causing corruption on submitting the form. Encoding and decoding needs to be symmetrical.

Cheers, Ralph.



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: