made rotations html_safe