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

Remove hack for replacing escaped ampersand characters in navigation node title

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 3.0.4, 3.1
    • Blocks, Navigation
    • MOODLE_30_STABLE, MOODLE_31_STABLE
    • MDL-54645-master
    • Hide
      Setup
      1. Login as admin.
      2. Create a course and add the special characters & ' " ¢ £ © € ¥ ® < > to the Course full name.
      3. Enrol a student to that course
      4. Login as a student.
      Course node loaded on page load
      1. Hover over the course's link under My courses. Check the title text being displayed.
        • Confirm that the title is rendered properly and that there are no escaped characters. (i.e. &amp;, &gt;, &lt;)
      AJAX testing
      1. Click Site home on the navigation block.
      2. Expand the My courses node.
      3. Hover over the course's link. Check the title text being displayed.
        • Confirm that the title is rendered properly and that there are no escaped characters. (i.e. &amp;, &gt;, &lt;)
      Show
      Setup Login as admin. Create a course and add the special characters & ' " ¢ £ © € ¥ ® < > to the Course full name. Enrol a student to that course Login as a student. Course node loaded on page load Hover over the course's link under My courses . Check the title text being displayed. Confirm that the title is rendered properly and that there are no escaped characters. (i.e. &amp;, &gt;, &lt; ) AJAX testing Click Site home on the navigation block. Expand the My courses node. Hover over the course's link. Check the title text being displayed. Confirm that the title is rendered properly and that there are no escaped characters. (i.e. &amp;, &gt;, &lt; )
    • 3.2 Sprint 2

      To replicate:

      1. Create a course that has a full name which contains < and >.
      2. Check the title of the course's link in the navigation block.
      3. Expecetd:
        • It displays < and >.
      4. Actual:
        • It displays &lt; and &gt; instead.

      Updated description:
      The issue about the escaping of special characters are being dealt with on MDL-47371. This issue has now become just about the removal for the hack that replaces &amp; characters to & in the course navigation node title.

        1. test.php
          0.2 kB
          Mark Nelson

            jpataleta Jun Pataleta
            jpataleta Jun Pataleta
            Mark Nelson Mark Nelson
            Andrew Lyons Andrew Lyons
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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