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

Field "id_name" in tiles format does not display HTML correctly on front page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Minor Minor
    • None
    • 4.0.5
    • HTML and CSS
    • None
    • MOODLE_400_STABLE

      In a course using Tiles format, changing the colour of the text in the "id_name" field for a module instance using HTML mark up does not change the colour. The HTML text string also displays above and below the module instance link on the front page. When editing is turned on the issue is not evident. The issue is not present when using Topics format.

      Test

      1. set up a course with Tiles format selected and all other items as default
      2. add a file module with the following text in the "id_name" field
        • <span style="color:#ff00ff;">Test Colour Purple</span>
      3. Save and return to course

      Expected behaviour: relevent text is purple

      Observed behaviour: Text and HTMl string displays above and below the module link. 

             4. Open settings, switch course format from tiles to topics, save and return

      Expected and Observed behaviour: Relevent text is purple

      Potential work arounds: 

      • Use the topics format
      • Use the description field for any coloured text and display on front page check box
      • Use a label, change the colour in the description field and check the display on front page check box

            Unassigned Unassigned
            orangedrummaboy David Burke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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