Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
module
Fetcher::HTMLUtils
Constants
MAX_UNESCAPE_BYTESIZE = 100000
Maximum allowed length for unescaped text to prevent entity explosion attacks
Class methods
safe_url
(url :
String
|
Nil
) :
String
Source
sanitize_link
(link :
String
|
Nil
, default :
String
= "#") :
String
Source
sanitize_text
(text :
String
|
Nil
, default :
String
= "") :
String
Source