Developing a new site and I've noticed that Bleach seems to filter out tags commonly used in Bootstrap. In this case I'm trying to add some HTML to a rich text page like:
<button type="button" class="btn btn-primary"><a href="/about-us-events">Events</a></button> <button type="button" class="btn btn-primary"><a href="/advocacy/hearing-loss/">Hearing Loss Advocacy</a></button> But bleach strips out the <button> tags. I tried changing the RichText Filter setting to None, but that does not affect this. It seems it would also filter out many of the other common Bootstrap tags such as <small> etc. I can add these (and others) to the ALLOWED_TAGS settings in Bleach, but I'm wondering if anyone else has dealt with this and if there is a best approach to adding Bootstrap tags to bleach? -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
