Avoiding consecutive hyphens to validate html5