Properly escape formatting options