Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stringify: do not use unescapedIndexOf in property parameters
… as \ is no escape character there. When the propery parameter contains :, then it must be quoted, the colon cannot be escaped. As the function stringify.propertyValue in fact stringifies property parameter values, it is renamed accordingly. kewisch#658 This supersedes kewisch#535 and updates kewisch#555 . Without these changes, the herein added test fails: 1) ICAL.stringify stringify property stringify property value containing "escaped" ; , :: AssertionError: expected 'ATTENDEE;CN=X\::mailto:id' to equal 'ATTENDEE;CN="X\:":mailto:id' + expected - actual -ATTENDEE;CN=X\::mailto:id +ATTENDEE;CN="X\:":mailto:id
- Loading branch information