Ik heb het volgende javascript in de header die problemen geeft met de validatie:

PHP Code:
var contentString '<div id="content">'+
'<div id="siteNotice">'+
'</div>'+
'<h1 id="firstHeading" class="firstHeading">Titel</h1>'+
'<div id="bodyContent">'+
'<p>Text bla bla bla</p>'+
'</div>'+
'</div>';
var 
infowindow = new google.maps.InfoWindow({
contentcontentString
}); 
De fout is steeds: End tag for element "DIV" which is not open. The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case).

Deze code is van de Google Maps Api, dus ik ga er vanuit dat het klopt. Ik kom er niet uit waarom deze een validatiefout geeft. Iemand een idee?