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

HTML entities in RSS feeds do not display correctly

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      • Turn editing on in your course
      • Add a block: Remote RSS feed
      • On the block's cog menu select "Configuring a Remote news feed block"
      • In "Block settings", "Choose the feeds which you would like to make available in this block:" "There are no RSS feeds defined for this site.", click "Add/edit feeds"
      • Press "Add a new feed" button
      • In "Feed URL" insert https://www.knoten-maschen.ch/feed/, press "Add a new feed" button
      • Return to the course home
      • On the block's cog menu select "Configuring a Remote news feed block"
      • In "Block settings", "Choose the feeds which you would like to make available in this block:" highlight "knoten & maschen" (Note it doesn't double escape the ampersand any more)
      • Click "Save changes"
      • Double check the block title correctly states "knoten & maschen" (in upper case characters)
      Show
      Turn editing on in your course Add a block: Remote RSS feed On the block's cog menu select "Configuring a Remote news feed block" In "Block settings", "Choose the feeds which you would like to make available in this block:" "There are no RSS feeds defined for this site.", click "Add/edit feeds" Press "Add a new feed" button In "Feed URL" insert https://www.knoten-maschen.ch/feed/ , press "Add a new feed" button Return to the course home On the block's cog menu select "Configuring a Remote news feed block" In "Block settings", "Choose the feeds which you would like to make available in this block:" highlight "knoten & maschen" (Note it doesn't double escape the ampersand any more) Click "Save changes" Double check the block title correctly states "knoten & maschen" (in upper case characters)
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-36157-master

      Description

      If you add an RSS feed which has HTML entities in the title or descriptions they do not display as the intended entity.

      For example if " appears in an item title. This happened with the feed at http://search.twitter.com/search.atom?q=%23edchat.

      Attempted patch incoming...

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lucaboesch Luca Bösch
              Reporter:
              tlevi Tony Levi
              Peer reviewer:
              Mihail Geshoski
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Gladys Basiana
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                19/Mar/18

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h