Escape string for documentation correctly