ITADN

feat: add String escape and unescape.

#6Pull Requestcrhallberg 创建于 2023-12-06
C
crhallbergcommented
Uses `String.replace` to escape HTML for attributes and inputs. This seems to be the simplest and most performant method. Works the same was a lodash but unraveled from the anarchy of [that file](https://github.com/lodash/lodash/blob/4.17.15/lodash.js#L14251).
合并状态:未合并 关闭于 2023-12-08 1 条评论