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

Forum: Subscriptions page right and left arrows are not displaying properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.0
    • 2.0
    • Forum
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      If you pull up a forum subscriptions page and turn editing on, the forum renderer does not seem to be displaying rarrow and larrow correctly.

      In /lib/outputcomponents.php the attribute function returns:

      return ' ' . $name . '="' . s($value) . '"';

      So the ampersand is being quoted. Removing s() - in other words:

      return ' ' . $name . '="' . $value . '"';

      shows the correct characters; however, Petr commented:

      // no sloppy trimming here!

      when he added the code:
      http://cvs.moodle.org/moodle/lib/outputcomponents.php?view=diff&r1=1.72&r2=1.73

            skodak Petr Skoda
            aborrow Anthony Borrow
            Nobody Nobody
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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