* @access protected
*/
function _putheader() {
- $this->_out('%PDF-'.$this->PDFVersion);
+ $this->buffer = '%PDF-'.$this->PDFVersion."\n".$this->buffer;
+// $this->_out('%PDF-'.$this->PDFVersion);
}
/**
*/
function unhtmlentities($text_to_convert) {
if (!$this->isunicode) {
- return html_entity_decode($text_to_convert);
+ return html_entity_decode($text_to_convert, ENT_QUOTES);
}
return html_entity_decode_php4($text_to_convert);
}