Bootstrap collapse not working

Hi,
I am trying to insert a standard Bootstrap 3 collapsable element into a custom HTML widget and it does not work at all:
<button class=“btn btn-primary” type=“button” data-toggle=“collapse” data-target="#collapseExample" aria-expanded=“false” aria-controls=“collapseExample”>Button with data-target</button>
<div id=“collapseExample”>
<p>Collapse text</p>
</div>

Something in the theme has broken the standard Boostrap collapse. Can you help

Hey there

Please provide a link to this page to replicate the problem

Thanks