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

like mdl-13886 styles are broken

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.9.10
    • 1.9
    • Libraries
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

      we use css in assignments, quizes ... like:
      <div style="color: rgb(0, 51, 102); background-color: rgb(255, 248, 178); height: 100px; font-size: 150%;"> <img width="133" .......

      nearly all styles were broken after update to 1.9.
      Could you please expand the list of allowed css tags in weblib.php ALLOWED_PROTOCOLS. Tags that are often used are:

      'background-color', 'text-decoration', 'border-left', 'border-top',
      'border-bottom', 'border-right', 'vertical-align', 'margin-right', 'margin-left', 'line-height', ......

      after I found and added these for our site every thing is o.k. Could be that also other sites are using css-styles.

      by katja

            skodak Petr Skoda
            kkrueger Katja Krüger
            Votes:
            3 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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