mailto URI in markdown causes Internal Error 500

Summary

On updating from 9.1.2-ee.0 to 9.1.3-ee.0 hosted and also on gitlab.com rendering of mailto:// URIs causes Internal server 500 error.

I believe this could be related to the changes related to 29374 (closed)

Steps to reproduce

Add the following to any markdown file e.g. readme.md

[jblogs@example.com](mailto://jblogs@example.com)

What is the current bug behavior?

Internal Error 500

What is the expected correct behavior?

Should render the markdown as expected
image

Relevant logs and/or screenshots

None

Output of checks

This bug happens on GitLab.com

Possible fixes

?