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

Characters converted to HTML entities in the re-edited Markdown text field

    XMLWordPrintable

    Details

    • Difficulty:
      Moderate
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_28_STABLE, MOODLE_31_STABLE

      Description

      Steps to reproduce:
      1. Disable TinyMCE in your Moodle profile at moodle.org
      2. Compose a forum post in Markdown format, eg:

      > Block quote
      Something

      3. Save the form
      4. Edit the post

      Expected behavior:
      The text should appear in the textarea exactly as you typed it (following the "What You See Is What You Typed" principle). This has always been like that, 10 of 10 Markdown users say.

      What actually happens:
      The > character is displayed as > entity, breaking the Markdown syntax.

      Notes:
      I am not sure if the same affects other formats, too. Please try HTML format, too.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            mudrd8mz David Mudrák (@mudrd8mz)
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            18 Vote for this issue
            Watchers:
            20 Start watching this issue

              Dates

              Created:
              Updated: