Fixed html + body tags in print()