Fix padding and extraneous rel attribute.