Variable: icalendar-parse-strictly

icalendar-parse-strictly is a customizable variable defined in icalendar-parser.el.gz.

Value

nil

Documentation

When non-nil, iCalendar data will be parsed strictly.

By default, the iCalendar parser accepts certain harmless deviations from RFC5545 that are common in real-world data (e.g., unescaped commas in text values). Setting this to t will cause the parser to produce errors instead of silently accepting such data.

This variable was added, or its default value changed, in Emacs 31.1.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/icalendar-parser.el.gz
(defcustom ical:parse-strictly nil
  "When non-nil, iCalendar data will be parsed strictly.

By default, the iCalendar parser accepts certain harmless deviations
from RFC5545 that are common in real-world data (e.g., unescaped commas
in text values).  Setting this to t will cause the parser to produce
errors instead of silently accepting such data."
  :version "31.1"
  :type '(choice (const :tag "Ignore minor errors" nil)
                 (const :tag "Parse strictly" t)))