fix for html tag changing
fixed tag change and let html to pdf