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

This case is much rarer than escaping quotes or whitespace. It will happen only if the content of the block will contain unsanitized inputs. In such case a control character for escaping will help, or, if you can have 2x range for control characters, you can use one bit for escaping. E.g. 0x1-0x7 - delimiters, 0x8-0xF - escaped delimiters.


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

Search: