gluon-web: handle translation and escaping in generated Lua code
By emitting Lua code to call translate() and pcdata(), we are more flexible than when doing this internally in the parser. The performance penalty should be negligible.
Showing
- package/gluon-web/src/template_parser.c 35 additions, 22 deletionspackage/gluon-web/src/template_parser.c
- package/gluon-web/src/template_utils.c 1 addition, 51 deletionspackage/gluon-web/src/template_utils.c
- package/gluon-web/src/template_utils.h 1 addition, 3 deletionspackage/gluon-web/src/template_utils.h
Loading
Please register or sign in to comment