fix missing } in output.class.php (issue #745)