Fixing invalid markup