fix bug #225: blank page on article page

This commit is contained in:
Nicolas Lœuillet 2013-09-20 14:09:26 +02:00
parent b8c67f8068
commit 3408ed48ba

View File

@ -381,6 +381,7 @@ class Poche
$tidy = tidy_parse_string($content, array('indent'=>true, 'show-body-only' => true), 'UTF8'); $tidy = tidy_parse_string($content, array('indent'=>true, 'show-body-only' => true), 'UTF8');
$tidy->cleanRepair(); $tidy->cleanRepair();
$content = $tidy->value; $content = $tidy->value;
}
# flattr checking # flattr checking
$flattr = new FlattrItem(); $flattr = new FlattrItem();
@ -392,7 +393,6 @@ class Poche
'flattr' => $flattr 'flattr' => $flattr
); );
} }
}
else { else {
Tools::logm('error in view call : entry is null'); Tools::logm('error in view call : entry is null');
} }