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

filter_codehighlighter CSS classes clash with .que .comment in question text

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.4.9, 5.0
    • Filters

      When adding a code block of type Python (and possibly other languages) using tiny in a question description, python comments appear mangled because of a CSS rule targetting .que .comment . The solution is to add a rule with higher precedence, such as 

      code .token.comment {
          color: slategray;
          background: none;
          padding: 0;
      }

      to the filter_codehighlighter style sheet.

            monidu Nicolas Dunand
            monidu Nicolas Dunand
            Luca Bösch Luca Bösch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

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