Avoid triggering the default button of the form when pressing enter over a valid <a href='..'>; fixes #480