Minor bug fix

htmlentities now actually returns the encoded result for
$result->body