Remove fragment from URL on print