Fixed validation error with favicon reference (fixes #4987)