ext/redcloth_scan/redcloth_inline.rl in BBRedCloth-0.8.1 vs ext/redcloth_scan/redcloth_inline.rl in BBRedCloth-0.8.2

- old
+ new

@@ -87,10 +87,10 @@ cee = [Cc] ; copyright = ( "[" cee "]" | "(" cee ")" ) ; entity = ( "&" %A ( '#' digit+ | ( alpha ( alpha | digit )+ ) ) %T ';' ) >X ; direct_uri = "http" "s"? "://" uchar+ absolute_path?; - automatic_url = direct_uri >X >A %{ STORE_URL("href"); } ; + automatic_url = (direct_uri -- '[' -- ']') >X >A %{ STORE_URL("href"); } ; # info redcloth_version = "[RedCloth::VERSION]" ;