protected function decodeCharacterReference($inAttribute = false
) { // Next char after &.
$tok =
$this->scanner->
next();
$start =
$this->scanner->
position();
if (false ===
$tok) { return '&';
} // These indicate not an entity. We return just
// the &.
if ("\t" ===
$tok || "\n" ===
$tok || "\f" ===
$tok || ' ' ===
$tok || '&' ===
$tok || '<' ===
$tok) { // $this->scanner->next();
return '&';
}