Moodle
  1. Moodle
  2. MDL-15263

Text-only email messages contain numeric entities (format_text_email should convert them)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.1
    • Fix Version/s: 1.9.2
    • Component/s: Libraries
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE
    • Rank:
      24399

      Description

      The attached patch fixes this problem by changing html_to_text in weblib so that it called the existing textlib function, entities_to_utf8. I also added some test cases to the weblib simpletest.

      Patch is for MOODLE_19.

        Activity

        Hide
        Petr Škoda added a comment -

        +1

        Show
        Petr Škoda added a comment - +1
        Hide
        Sam Marshall added a comment -

        Checked in to MOODLE_19+MOODLE_19_MERGED and HEAD.

        Show
        Sam Marshall added a comment - Checked in to MOODLE_19+MOODLE_19_MERGED and HEAD.
        Hide
        Dongsheng Cai added a comment -

        Verified, Thanks

        Show
        Dongsheng Cai added a comment - Verified, Thanks

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: