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

New grader interface doesnt work well with HTML larrow/rarrow

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1
    • Component/s: Assignment
    • Labels:

      Description

      We use < and > for our theme's larrow and rarrow settings, which is escaped when being output to the new grader interface.

      $THEME->larrow = '<';
      $THEME->rarrow = '>';
      

      Given that these are safe config settings, I see no reason to escape them and propose the mustache template be modified as such:

      <a href="#previous" data-action="previous-user">{{& larrow}}</a>
      ...
      <a href="#next" data-action="next-user">{{& rarrow}}</a>
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                23/May/16