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

format_text strips images with src attributes it doesn't like

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.0
    • 2.0
    • Libraries
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      this is a problem for the leap2a export, which rewrites images to reference the attached file in the feed by id, eg:

      <img rel="leap2a:has_part" src="portfolio:storedfile3456" />

      these are getting stripped by format_text, I guess because the src doesn't end in an extension of an image. Is there a way to stop this?

            mudrd8mz David Mudrák (@mudrd8mz)
            mjollnir Penny Leach (Inactive)
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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