Use -p option in print_html_report like print_text_report

I noticed -p option is not applied when I use --html option at the same time.
This is a fix to apply -p option for html output as well.