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

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

    XMLWordPrintable

Details

    • MOODLE_22_STABLE, MOODLE_28_STABLE, MOODLE_31_STABLE
    • Moderate

    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

            Unassigned Unassigned
            mudrd8mz David Mudrák (@mudrd8mz)
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan, Andrew Lyons, 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: