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

Event Title in Calendar does not display & ampersands correctly

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Log in as admin
      2. Go to the calendar
      3. Add an event with the title

        A & B > C < "D"

      4. Save the event
      5. Confirm that the event title is displayed as

        A & B > C < "D"

        (You may want to close the nav drawer in order to see the whole event title on the calendar's month view)
        (You might also notice that when you hover on the event, you see the event's title displayed as "A &amp; B &gt; C &lt; "D"." This is fine and will be fixed on a separate issue.

      6. Click on the date link to go to the day view.
      7. Check the title of the event.
      8. Confirm that the event title is displayed as

        A & B > C < "D"

      Show
      Log in as admin Go to the calendar Add an event with the title A & B > C < "D" Save the event Confirm that the event title is displayed as A & B > C < "D" (You may want to close the nav drawer in order to see the whole event title on the calendar's month view) (You might also notice that when you hover on the event, you see the event's title displayed as " A &amp; B &gt; C &lt; "D" ." This is fine and will be fixed on a separate issue. Click on the date link to go to the day view. Check the title of the event. Confirm that the event title is displayed as A & B > C < "D"
    • Affected Branches:
      MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_35_STABLE
    • Pull from Repository:
    • Pull 3.5 Branch:
    • Pull Master Branch:
      MDL-63999-master

      Description

      1. Add a new event to a calendar
      2. Type an Event Title which contains an ampersand. Such as - Meeting of Students & Staff
      3. Save the event
      4. The event title is displayed as Meeting of Students "& amp;" Staff

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lameze Simey Lameze
              Reporter:
              philb0 Phil Blyth
              Peer reviewer:
              Peter Dias
              Integrator:
              Jun Pataleta
              Tester:
              Anna Carissa Sadia
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/Jan/19

                  Time Tracking

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