For each line item in an .ics file, only split by the first occurrence of a semicolon (:). Splitting by every occurrence can impact text values that have a semicolon in it.
Ex:
This text:
DESCRIPTION:Lab safety training takes approximately 2 hours to complete
and is intended for new and returning students\, faculty and staff who\n
will be working (or taking classes) in NJIT labs and have not previously
attended lab safety training. Note: employee or student\nresearchers wh
o are handling chemicals must also attend annual Hazard Communication (H
azCom) training which is covered during\nthe first hour of Lab Safety Tr
aining.
was reduced to this JSON:
"description": "Lab safety training takes approximately 2 hours to complete and is intended for new and returning students\\, faculty and staff who\\n will be working (or taking classes) in NJIT labs and have not previously attended lab safety training. Note"
For each line item in an
.ics
file, only split by the first occurrence of a semicolon (:
). Splitting by every occurrence can impact text values that have a semicolon in it.Ex:
This text:
was reduced to this JSON: