module Myhtml

Defined in:

myhtml.cr
myhtml/constants.cr
myhtml/iterators.cr
myhtml/lib.cr
myhtml/node.cr
myhtml/parser.cr
myhtml/tag_id_convertion.cr
myhtml/tag_id_utils.cr
myhtml/tree.cr

Constant Summary

VERSION = "0.18"

Class Method Summary

Class Method Detail

def self.decode_html_entities(str : String) #

TODO rewrite to optimal, this is slow


[View source]
def self.lib_version #

[View source]
def self.parse_charset(encoding : String) : Myhtml::Lib::MyhtmlEncodingList | Nil #

"text/html; charset=Windows-1251" => MyHTML_ENCODING_WINDOWS_1251


[View source]
def self.symbol_by_tag_id(tag_id : Lib::MyhtmlTags) #

[View source]
def self.tag_id_by_symbol(sym : Symbol) #

[View source]
def self.tag_symbol_by_string(str : String) #

[View source]
def self.tags_string_sym_map #

[View source]
def self.version_string #

[View source]