Allow some simple bootstrap options for user content

Bug #1854647 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Confirmed
Wishlist
Unassigned

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

Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

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: - Allow some simple bootstrap options work for user content
+ Allow some simple bootstrap options for user content
Changed in mahara:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.