Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using details tag results in it wrapped with paragraphs #525

Closed
XhmikosR opened this issue Feb 1, 2019 · 0 comments · Fixed by #559
Closed

Using details tag results in it wrapped with paragraphs #525

XhmikosR opened this issue Feb 1, 2019 · 0 comments · Fixed by #559

Comments

@XhmikosR
Copy link

XhmikosR commented Feb 1, 2019

Maybe the details tag needs to be added to a whitelist or something?

<details>
<summary class="text-primary mb-3">Show components requiring JavaScript</summary>
FOO
</details>

becomes:

<p><details>
<summary class="text-primary mb-3">Show components requiring JavaScript</summary>
FOO
</details></p>

which isn't valid HTML.

alanhdu pushed a commit to alanhdu/blackfriday that referenced this issue Aug 20, 2019
willdollman pushed a commit to willdollman/blackfriday that referenced this issue Feb 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant