Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-80513

External RSS/iCal feeds ignores linebreaks

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.1.5
    • Calendar
    • MOODLE_401_STABLE

      At a glance, this issue seems nearly the same as MDL-38485 (2.7-2.8). When adding an external feed for site-wide calendar events, Moodle is ignoring any <br> or <P> indicators within the description part of the feed and flattens the text so it all runs together.

      I understand that according to iCal specs (4.8.1.5 ?) "Description" text was intended to be plain text (most modern calendar systems support some HTML using X-ALT-DESC with a FMTTYPE declaration) but one would hope that we can still honor new line /n formatting whenever <br>'s appear.

      Many modern RSS feeds incorrectly include a <br> or <p> in their output. Can we update Moodle such that it replaces any of those instances with a line-break (/n) rather than stripping them out completely?

            Unassigned Unassigned
            joshmanders Josh Manders
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.