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

Forum search results not correctly formated when message format is not HTML

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 2.9.5, 3.0.3
    • 2.9.4, 3.0.2, 3.1
    • Forum
    • MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE
    • MOODLE_29_STABLE, MOODLE_30_STABLE
    • MDL-52862_master
    • Hide
      • Set your editor preferred text editor to Plain text area
      • Add a new discussion to a forum
      • Choose "Plain text format" for the message
      • Write the following text:

        one
        two
        three
        

      • Post to forum
      • Search in the forum the word "one"
      • Confirm that the post id displayed correctly and as you would expect it
      • Repeat for all other editing formats.
      Show
      Set your editor preferred text editor to Plain text area Add a new discussion to a forum Choose "Plain text format" for the message Write the following text: one two three Post to forum Search in the forum the word "one" Confirm that the post id displayed correctly and as you would expect it Repeat for all other editing formats.

    Description

      To reproduce:

      • Set your editor preferred text editor to Plain text area
      • Add a new discussion to a forum
      • Choose "Plain text format" for the message
      • Write the following text:

        one
        two
        three
        

      • Post to forum
      • Search in the forum the word "one"

      What you get in the results is the message you've just posted with html tags.

      Maybe it's possible to reproduce this behaviour with other formats. Other versions may be affected too.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jsegarra Juan Segarra Montesinos
            Andrew Lyons Andrew Lyons
            Dan Poltawski Dan Poltawski
            Frédéric Massart Frédéric Massart
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Clockify

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