minor fix in getting print format html
Merge pull request #657 from nabinhait/v4-hotfix

minor fix in getting print format html