module Markd::HTMLEntities::Encoder

Defined in:

markd/html_entities.cr

Constant Summary

ASTRAL_REGEX = Regex.new("[\xED\xA0\x80-\xED\xAF\xBF][\xED\xB0\x80-\xED\xBF\xBF]")
ENCODE_REGEX = /[^\x{20}-\x{7E}]/
ENTITIES_REGEX = Regex.union(HTMLEntities::ENTITIES_MAPPINGS.values)

Class Method Summary

Class Method Detail

def self.encode(source : String) #

[View source]