Some links are parsing trailing parenthesis character
Haven't figured out how to easily reproduce this. For example, see the video link in https://gitter.im/gitlabhq/contributors?at=5ccabbc81cd0b8307dabf007.
Input:
(https://a.com) or see (see https://b.com)
Result:
(<a href="https://a.com" rel="nofollow noopener noreferrer" target="_blank" class="link">https://a.com</a>) or see (see <a href="https://b.com)" rel="nofollow noopener noreferrer" target="_blank" class="link">https://b.com)</a>
Relevant code
Edited by Eric Eastwood