module Autolink
Extended Modules
Defined in:
autolink.crautolink/version.cr
Constant Summary
-
AUTO_LINK_CRE =
[/<[^>]+$/, /^[^>]*>/, /<a\b.*?>/i, /<\/a>/i]
-
AUTO_LINK_RE =
/\ (?: ((?:ed2k|ftp|http|https|irc|mailto|news|gopher|nntp|telnet|webcal|xmpp|callto|feed|svn|urn|aim|rsync|tag|ssh|sftp|rtsp|afs|file):)\/\/ | www\. ) [^\s<\"]+[^.<$] /ix
-
BRACKETS =
{"]" => "[", ")" => "(", "}" => "{"}
-
VERSION =
"0.1.1"
Instance Method Summary
- #auto_link(text, html = {} of String => String)
- #auto_linked?(left, right)
- #content_tag(tag, text, attributes = {} of String => String)