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

Issue displaying label activity (Text and media area) with font awesome filter enabling

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Deferred
    • Icon: Minor Minor
    • None
    • 4.1.4
    • Course
    • None
    • MOODLE_401_STABLE

       

       
      Label (Text and media area) activity is special as a name is generated from the activity text that you type in. Then text is displayed on a course page with all filters applied to it. However left navigation doesn't get filters applied so name is displayed as is without UI to fix name...
       
      That could be a problem if for example you use a font_awesome filter and add an icon in the beginning of label text. 

      Steps to replicate:

      1. Install https://moodle.org/plugins/filter_fontawesome
      2. Navigate to /admin/filters.php and enable  FontAwesome icons, Apply to Content
      3. Navigate to a random course and create a label (Text and media area)  activity starting with [fa-comments fa-fw]
      4. Confirm that icon is displayed in a course content, but not in the navigation. 

            Unassigned Unassigned
            dmitriim Dmitrii Metelkin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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