Gerrit's comments break when a full link to a phabricator task is put in them. For example, in https://gerrit.wikimedia.org/r/#/c/215502/, this happened:
https://phabricator.wikimedia.org/T90238
Gets converted to:
T90238" target="_blank">https://phabricator.wikimedia.org/T90238
Corresponding generated HTML is:
<a href="https://phabricator.wikimedia.org/<a href=" https:="" phabricator.wikimedia.org="" t90238"="">T90238</a>" target="_blank">https://phabricator.wikimedia.org/<a href="https://phabricator.wikimedia.org/T90238">T90238</a>
Just the task number works fine, though. For example,
T90238
gets converted to (HTML):
<a href="https://phabricator.wikimedia.org/T90238">T90238</a>