The previous regular expressions for links would not allow square or round brackets to exist alone as it assumed they were always part of markdown links. Now the regex is smarter about these and allows square or round bracketed text to occur and not get stripped away in an attempt to make a link substitution.
The previous regular expressions for links would not allow square or round brackets to exist alone as it assumed they were always part of markdown links. Now the regex is smarter about these and allows square or round bracketed text to occur and not get stripped away in an attempt to make a link substitution.
Based on #29