and
Created attachment 6919 Diff for fixing problem with invalid HTML code On https://xfce.org/about/news/?post=1425081600 we got some <p> and </p> that are not suppose to be there. See https://validator.w3.org/check?uri=https%3A%2F%2Fxfce.org%2Fabout%2Fnews%2F%3Fpost%3D1425081600&charset=%28detect+automatically%29&doctype=Inline&group=0 There is a check for <ul> here but thats properly not a good idea to just add a long list of elements that should not have <p> and </p> around them: foreach ($item['paragraphs'] as $p) { if (strpos ($p, '<ul>') === false) echo '<p>'.$p.'</p>'."\n"; else echo $p."\n"; } In /pages/news-array.php we have the $news array. I suggest containg the content in an array to avoid the <p> and </p> but maybe someone have a better idea.
Created attachment 6920 I fixed the indentation to use tabs in this on
Fixed in https://git.xfce.org/www/www.xfce.org/commit/?id=c6822f04bbaa5a0433d9452b9d84394089308b6e , thank you !