module

Markd::HTMLEntities::Decoder

Constants

STRICT_REGEX = /&(?:[a-zA-Z][a-zA-Z0-9]{1,31}|#[Xx][0-9a-fA-F]{1,6}|#[0-9]{1,7});/

The CommonMark 0.31.2 grammar, matching Rule::NAMED_HTML_ENTITY and Rule::NUMERIC_HTML_ENTITY above: ; required, digits bounded.

Class methods

decode(source)
Source
decode_codepoint(codepoint)
Source
decode_entity(chars)
Source