Skip to content

Backport the html entities to luajit with the ffi binding as the entities to UTF-8 decoder.

License

Notifications You must be signed in to change notification settings

detailyang/lua-resty-htmlentities

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lua-resty-htmlentities

Backport the entities to luajit with the ffi binding as the entities to UTF-8 decoder.

Table of Contents

Status

Build Status

Production Ready

Install

make && make install

or

make && make install DESTDIR=/path/

Usage

Make sure htmlentities.lua and libhtmlentities.so is in the package.cpath and package.path

local htmlentities_decoder = htmlentities.new()
local htmlentities_decode = htmlentities_decoder.decode

htmlentities_decode("&")

Contributing

To contribute to lua-resty-htmlentities, clone this repo locally and commit your code on a separate branch.

PS: PR Welcome 🚀 🚀 🚀 🚀

Author

GitHub @detailyang

License

lua-resty-htmlentities is licensed under the MIT license.

About

Backport the html entities to luajit with the ffi binding as the entities to UTF-8 decoder.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published