Bug: Markdown preview doesn't work with <details> tag
kol3x opened this issue · comments
Nikolai commented
Checks
- I have thoroughly read and understand The Odin Project Contributing Guide
- The title of this issue follows the
Bug: brief description of bug
format, e.g.Bug: Lesson complete button does not update on click
- Would you like to work on this issue?
Bug description
Markdown preview doesn't work with details tag, it just shows plain text
How to reproduce
- Go to https://www.theodinproject.com/lessons/preview
- Insert
<details>
<summary>Epcot Center</summary>
<p>Epcot is a theme park at Walt Disney World Resort featuring exciting attractions, international pavilions, award-winning fireworks and seasonal special events.</p>
</details>
- Go to preview version
- Text is not hidden and not clickable
Expected behavior
- Go to https://www.theodinproject.com/lessons/preview
- Insert
<details>
<summary>Epcot Center</summary>
<p>Epcot is a theme park at Walt Disney World Resort featuring exciting attractions, international pavilions, award-winning fireworks and seasonal special events.</p>
</details>
- Go to preview version
- Text is hidden and unhidden on click.
What browsers are you seeing the problem on?
Firefox
What OS are you using?
Ubuntu
Discord Name
No response
Additional Comments
No response
Austin commented
@KevinMulhern Please take a look
Nikolai commented
My bad :(