Format links inside references

I just noticed that links inside references are not formatted correctly:

It is probably unnecessary to implement this before the WYSIWYG release but I just wanted to mention it.