Fixed issue with linkings in warnings

...and that was the moment I remembered that string.replace() doesn't alter the string, but rather returns the altered string. :santa: :santa: :santa: