<p><a href="/url(test)" title="title">Inline link 1 with parens</a>.</p>
<p><a href="/url(test)" title="title">Inline link 2 with parens</a>.</p>
<p><a href="/url(test)" title="title">Inline link 3 with non-escaped parens</a>.</p>
<p><a href="/url(test)" title="title">Inline link 4 with non-escaped parens</a>.</p>
<p><a href="/url(test)" title="title">Reference link 1 with parens</a>.</p>
<p><a href="/url(test)" title="title">Reference link 2 with parens</a>.</p>