htmlEntities for lua Build Status GPLv3 Luarocks

Module for lua, decoding html entities :)

Module for decoding of text using entities html

or encode of text to entities html :V

Requires

Written for Lua5.3 but working with lua5.2 and 5.1

Setup

Use the terminal(luarocks) $ luarocks install html-entities

Releases

BETA

Stable

Luarocks

DOC

Module function:

Function Info
htmlEntities.decode(input) Decode html entities to text
htmlEntities.encode(input) Encode text to html entities :v
htmlEntities.ASCII_HEX(input) Decode for ASCII HEX
htmlEntities.ASCII_DEC(input) Decode for ASCII DEC

Module option:

String Default Info
error_msg_htmlEntities false View log of erros
debug_htmlEntities false Print output
ASCII_htmlEntities true Decode for entities ASCII
utf8_htmlEntities true Force utf8 for <= lua5.2
register_global_module_htmlEntities false Register module global
global_module_name_htmlEntities "htmlEntities" Name (global module)

Pages

Module file

Suggestions and Support New Issue

For stable versions to access Releases

LICENSE

GNU GENERAL PUBLIC LICENSE V3 (GPL)


By Tiago Danin