mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #56920
[Bug 1854647] [NEW] Allow some simple bootstrap options work for user content
Public bug reported:
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
** Affects: mahara
Importance: Wishlist
Status: New
--
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 work for user content
Status in Mahara:
New
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
Follow ups