Add autoEscape option, |safe filter and |e,|htmlEscape filters#114
Add autoEscape option, |safe filter and |e,|htmlEscape filters#114iffy wants to merge 4 commits into
Conversation
|
Thank you @iffy this looks really good! Could you:
then i'll merge it |
Sounds good. Because of how you've made this lib, it would be really easy to support other escaping modes (besides HTML) by choosing a different proc for
All done! Let me know if more changes are needed. |
|
Wouldn't it be sufficient to utilize escape proc of std/xmltree instead of implementing htmlEscape? |
Fixes #94
Let me know what you think of this approach.