Re-wrote the way <link> tags are handled