← Back to team overview

mahara-contributors team mailing list archive

[Bug 1854647] Re: Allow some simple bootstrap options for user content

 

We should check if there are others that should be allowed as well, like
rounding images. There is another bug to allow more CSS3 things.

** Summary changed:

- Allow some simple bootstrap options work for user content
+ Allow some simple bootstrap options for user content

** Changed in: mahara
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1854647

Title:
  Allow some simple bootstrap options for user content

Status in Mahara:
  Confirmed

Bug description:
  For example the collapse / show of content via <a> or <button> link

  We should whitelist some safe options in the HTMLPurifier config, eg:

      $def->addAttribute('a', 'data-toggle', 'Enum#collapse');
      $def->addAttribute('a', 'aria-expanded', 'Enum#true,false');

  To allow users to have access to more markup options

  This could be useful for adding accessibility attributes as well

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


References