Pretend this is embedded and marquee'd
Welp looks like links are broken.
Link and a line break. Parse URLs first then add line breaks. Your line breaks are getting caught in your URL parsing.
Yup, that looks like the problem. :L