This: <!---->
This little S.O.B, right there.
7 characters of evil, forcing IE to render all pages with it at the top like this in quirks mode:
<!----><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
If it's not evil I don't know what is because it certainly isn't in themes\default\overall.php
, because the first few lines of that are:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<?php $this->outputHead(); ?>
</head>
I certainly don't see any issues in my actual outputting code:
function build()
{
if ($this->disabled)
{
return $this->content;
}
else
{
global $footer;
ob_start();
$location = $this->location;
include($this->location['theme_nr'].'/overall.php');
return ob_get_clean();
}
}
function outputAll()
{
// stop capturing everything
$this->content = ob_get_clean();
// build the page
echo $this->build();
}
I just don't get it! How on earth could these horrendous 7 characters there get into my code?
I can just imagine that >
bit at the end turning into a smile, and the thing is laughing at me.
Laughing like the S.O.B. it is, making me hate it and IE evermore.
It haunts my dreams, it kills my cats, I don't know what it's going to do next but it's going to kill something.
Why?!?!
EDIT: fyi it appears in all browsers