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

Strip or format HTML tags in RSS feed titles in Remote RSS block

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.4.5, 3.5.2, 3.6
    • Fix Version/s: 3.4.6, 3.5.3
    • Component/s: Blocks, RSS
    • Labels:
    • Testing Instructions:
      Hide

      It turns out Google Alerts RSS feeds are a good example

      1. Test either in Boost or Clean theme.
      2. Create a Google alert (https://www.google.com/alerts), wait for the E-Mail to arrive.
      3. In the E-Mail, copy the RSS feed Link.
      4. In your course, as a teacher, turn editing on.
      5. Add a block: Remote RSS Feed.
      6. Cog → Configure Remote RSS Feed block.
      7. Add/edit feed.
      8. Add a new feed, paste the copied URL, click "Add a new feed".
      9. In Block Settings, highlight the feeds title in the text field beneath "Choose the feeds which you would like to make available in this block:", Save changes.
      10. Cross check the RSS items do not have any <b> </b> tags.
      Show
      It turns out Google Alerts RSS feeds are a good example Test either in Boost or Clean theme. Create a Google alert ( https://www.google.com/alerts ), wait for the E-Mail to arrive. In the E-Mail, copy the RSS feed Link. In your course, as a teacher, turn editing on. Add a block: Remote RSS Feed. Cog → Configure Remote RSS Feed block. Add/edit feed. Add a new feed, paste the copied URL, click "Add a new feed". In Block Settings, highlight the feeds title in the text field beneath "Choose the feeds which you would like to make available in this block:", Save changes. Cross check the RSS items do not have any <b> </b> tags.
    • Affected Branches:
      MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE, MOODLE_35_STABLE
    • Pull from Repository:
    • Pull 3.5 Branch:
    • Pull Master Branch:
      MDL-63215-master

      Description

      RSS feed titles that have HTML are just rendering the HTML as text. This content should either be stripped out or formatted so it is rendered as HTML and the tags are not visible as text.

        Attachments

          Activity

            People

            • Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                12/Nov/18

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 10 minutes
                10m