Escapes special characters in VTT files