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

html_to_text stripts images. It should replace the imge with its alt text

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.9.8
    • 1.9.10, 2.0
    • Accessibility, Libraries
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE, MOODLE_20_STABLE

    Description

      This is a regression introduced by MDL-17542.

      Look at http://cvs.moodle.org/moodle/lib/html2text.php?r1=1.10&r2=1.11, and search for img. You will see that in the old library images were replace by their alt text. The new code just strips them. Please could we have a fix, which I guess will have to be contributed upstream.

      Attachments

        Activity

          People

            timhunt Tim Hunt
            timhunt Tim Hunt
            Nobody Nobody
            Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              25/Oct/10