Backport the entities to luajit with the ffi binding as the entities to UTF-8 decoder.
Table of Contents
make && make install
make && make install DESTDIR=/path/
libhtmlentities.so is in the
local htmlentities_decoder = htmlentities.new() local htmlentities_decode = htmlentities_decoder.decode htmlentities_decode("&")
To contribute to lua-resty-htmlentities, clone this repo locally and commit your code on a separate branch.
PS: PR Welcome
lua-resty-htmlentities is licensed under the MIT license.