Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up[Lexer] Improve codec of HTML escape characters #364
Comments
|
Compared to htmlescape this library, my implementation is a complete implementation, and also has better performance, if you are interested, it will also improve the performance of SWC Lexer and parse more complex escape sequences. |
|
good |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Code Line: https://github.com/swc-project/swc/blob/master/ecmascript/parser/src/lexer/jsx.rs#L60
@kdy1
Full HTML escape characters support: LuoZijun/es@b67338f
Ref: HTML Character entity references
benchmark: