createLink: Don't remove trailing whitespaces in anchor content as Chrome.
Note: w3c sample implementation does so, but no browsers do.
createLink: Adopt to Chrome's behavior.