Also ich die Validator beschweren sich immer, und das liegt daran:
Aufgabe:
1. Schreibe einen Text
2. Schreibe den Text kursiv.
3. Füge der Übersichtlichkeit halber Zeilenumbrüche hinzu.
1, 2 und 3, so sieht das dann im Wordpress-Editor aus:
Zitat<blockquote>[COLOR=Lime]<em>[/COLOR] Text, noch mehr Text. Text, noch mehr Text.Text, noch mehr Text.Text, noch mehr Text. Es folgt ein Zeilenumbruch.
Weiter im Text. Text, noch mehr Text.Text, noch mehr Text.Text, noch mehr Text.Text, noch mehr Text.Gleich lassen wir eine Zeile frei.Text, noch mehr Text. Text, noch mehr Text. Und so weiter. [COLOR=Lime]</em>[/COLOR]</blockquote>
Soweit so gut, schauen wir jetzt aber in den Quelltext, dann lesen wir Folgendes:
Zitat<blockquote><p[COLOR=Red][COLOR=Black]>[/COLOR]<[/COLOR]em> Text, noch mehr Text. Text, noch mehr Text.Text, noch mehr Text.Text, noch mehr Text. Es folgt ein Zeilenumbruch.<br />
Weiter im Text. Text, noch mehr Text.Text, noch mehr Text.Text, noch mehr Text.Text, noch mehr Text.Gleich lassen wir eine Zeile frei.</p[COLOR=Red]>[/COLOR]
<p>Text, noch mehr Text. Text, noch mehr Text. Und so weiter. </em[COLOR=Red][COLOR=Red]>[/COLOR]<[/COLOR]/p></blockquote>
Problem ist wohl, dass Wordpress zwei Zeilenwechsel zu 'nem Abschnitt umwandelt (statt 2x <br />), das <em> müsste eigentlich innerhalb des <p> wieder geschlossen werden. Was kann man machen, um es dem Validator recht zu machen?