<p><a href="/url/">with [brackets][] in text</a> </p> <p><a href="/url/" title="a title">with [[brackets][]] in text</a> </p> <p><a href="/url/">full link [like](/this/) in text</a> </p> <p><a href="/url/">full link to img <img src="/this/" alt="like"/> is ok</a> </p> <p>[only open <a href="/url/" title="a title">bracket(/in/) text</a> </p> <p><a href="/in/">only close bracket</a> text](/url/) </p>