edit: nevermind, I figured it out - had a space before the close tag on my link and didn't notice because it was where the code hit the end of the page and rolled over to the next line. I feel thoroughly stupid now.