Skip to content

md-collapsible doesn't admit div in collapsible body #761

@miriamgonp

Description

@miriamgonp

Trying to use components inside the md-collapsible component, I've realized with the <p> tag you couldn't use <div> tag in the collapsible body because <p> doesn't admit <div> tag inside.

In order to allow this, we can change the <p> tag with a <div> tag.
What do you think about this solution?

<div> {{yield}} </div>

Shall I create a PR with the code?

<div class="collapsible-body"> 
    <p>{{yield}}</p>
</div> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions