Update generatePdf.php to avoid blank pages
Update generatePdf.php to avoid blank pages

Tinymce places <p> tags around page breaks which can cause blank pages when generating a pdf
leonardobarrientosc/SuiteCRM,samus-aran/SuiteCRM,willrennie/SuiteCRM,lionixevolve/LionixCRM,salesagility/SuiteCRM,lionixevolve/LionixCRM,vladbar/SuiteCRM,willrennie/SuiteCRM,gcoop-libre/SuiteCRM,root-smith/SuiteCRM,recci/SuiteCRM,jakubpas/SuiteCRM,horus68/SuiteCRM,leonardobarrientosc/SuiteCRM,gcoop-libre/SuiteCRM,willrennie/SuiteCRM,horus68/SuiteCRM,dfstrauss/SuiteCRM,daniel-samson/SuiteCRM,horus68/SuiteCRM-Horus68,JanSiero/SuiteCRM,gcoop-libre/SuiteCRM,horus68/SuiteCRM-Horus68,pribeiro42/SuiteCRM,Dillon-Brown/SuiteCRM,samus-aran/SuiteCRM,tfreier/SuiteCRM,Accendere/SuiteCRM,samus-aran/SuiteCRM,ChangezKhan/SuiteCRM,jakubpas/SuiteCRM,gunnicom/SuiteCRM,lionixevolve/SuiteCRM,digitalmcgrath/SuiteCRM,daniel-samson/SuiteCRM,root-smith/SuiteCRM,gymad/SuiteCRM,ChangezKhan/SuiteCRM,krzyc/SuiteCRM,scottiems/crm-limai,gody01/SuiteCRM,lionixevolve/LionixCRM,leonardobarrientosc/SuiteCRM,haris-raheem/SuiteCRM,haris-raheem/SuiteCRM,KhyberPass/SuiteCRM,adamjakab/SuiteCRM,lionixevolve/SuiteCRM,salesagility-davidthomson/SuiteCRM,ChangezKhan/SuiteCRM,JanSiero/SuiteCRM,gymad/SuiteCRM,root-smith/SuiteCRM,ryoon/SuiteCRM,cumanacr/SuiteCRM,gody01/SuiteCRM,noelhunter/SuiteCRM,cumanacr/SuiteCRM,MikeyJC/SuiteCRM,ryoon/SuiteCRM,MikeyJC/SuiteCRM,JanSiero/SuiteCRM,gymad/SuiteCRM,salesagility-davidthomson/SuiteCRM,ghermans/SuiteCRM,gymad/SuiteCRM,nadilhassan/SuiteCRM,dfstrauss/SuiteCRM,recci/SuiteCRM,KhyberPass/SuiteCRM,MikeyJC/SuiteCRM,gody01/SuiteCRM,horus68/SuiteCRM-Horus68,krzyc/SuiteCRM,nadilhassan/SuiteCRM,JimMackin/SuiteCRM,jakubpas/SuiteCRM,dfstrauss/SuiteCRM,cumanacr/SuiteCRM,JimMackin/SuiteCRM,salesagility-davidthomson/SuiteCRM,KhyberPass/SuiteCRM,pgorod/SuiteCRM,lionixevolve/SuiteCRM,Accendere/SuiteCRM,lionixevolve/LionixCRM,shogunpol/SuiteCRM,daniel-samson/SuiteCRM,pribeiro42/SuiteCRM,vladbar/SuiteCRM,haris-raheem/SuiteCRM,lionixevolve/LionixCRM,shogunpol/SuiteCRM,nadilhassan/SuiteCRM,daniel-samson/SuiteCRM,tfreier/SuiteCRM,gunnicom/SuiteCRM,Dillon-Brown/SuiteCRM,horus68/SuiteCRM-Horus68,tfreier/SuiteCRM,recci/SuiteCRM,noelhunter/SuiteCRM,gcoop-libre/SuiteCRM,samus-aran/SuiteCRM,Dillon-Brown/SuiteCRM,salesagility/SuiteCRM,gody01/SuiteCRM,pgorod/SuiteCRM,Accendere/SuiteCRM,root-smith/SuiteCRM,noelhunter/SuiteCRM,noelhunter/SuiteCRM,scottiems/crm-limai,haris-raheem/SuiteCRM,pgorod/SuiteCRM,leonardobarrientosc/SuiteCRM,shogunpol/SuiteCRM,MikeyJC/SuiteCRM,willrennie/SuiteCRM,dfstrauss/SuiteCRM,lionixevolve/SuiteCRM,krzyc/SuiteCRM,adamjakab/SuiteCRM,digitalmcgrath/SuiteCRM,digitalmcgrath/SuiteCRM,salesagility/SuiteCRM,gunnicom/SuiteCRM,vladbar/SuiteCRM,gunnicom/SuiteCRM,krzyc/SuiteCRM,horus68/SuiteCRM,JimMackin/SuiteCRM,cumanacr/SuiteCRM,adamjakab/SuiteCRM,Accendere/SuiteCRM,shogunpol/SuiteCRM,ChangezKhan/SuiteCRM,adamjakab/SuiteCRM,pgorod/SuiteCRM,ryoon/SuiteCRM,Dillon-Brown/SuiteCRM,ghermans/SuiteCRM,scottiems/crm-limai,KhyberPass/SuiteCRM,pribeiro42/SuiteCRM,nadilhassan/SuiteCRM,salesagility/SuiteCRM,pribeiro42/SuiteCRM,recci/SuiteCRM,scottiems/crm-limai,JimMackin/SuiteCRM,JanSiero/SuiteCRM,ghermans/SuiteCRM,lionixevolve/LionixCRM,salesagility-davidthomson/SuiteCRM