proper handling of 'rel' attribute for links (Bug 971754)