← Back to team overview

mahara-contributors team mailing list archive

[Bug 1843154] Re: Allowlist more modern, safe CSS 3 rules in HTMLPurifier

 

** Changed in: mahara
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1843154

Title:
  Allowlist more modern, safe CSS 3 rules in HTMLPurifier

Status in Mahara:
  Fix Committed

Bug description:
  HTML purifier is stripping out border styles, e.g. <img style="border-
  radius:50%;"> which would allow images to be displayed in a circle
  without having to crop the image itself.

  It would be good to allow more modern CSS3 rules.

  Looking at what had been done for skins in bug #1264098 might help.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1843154/+subscriptions



References