iamcco / markdown-preview.nvim

markdown preview plugin for (neo)vim
MIT License
6.61k stars 275 forks source link

<details> collapses when changes are made. #600

Open FrostyNick opened 1 year ago

FrostyNick commented 1 year ago

Describe the bug If I open up <details>, it opens like expected. When any change is made, it will collapse.

To Reproduce Steps to reproduce the behavior:

  1. Open a markdown file. This is the markdown file I used just in case it's needed: readme.md
  2. :MarkdownPreviewToggle
  3. Open up something wrapped in <details><summary>Details</summary>hidden info goes here</details>
  4. Make a change
  5. See error

Expected behavior <details> should not automatically close when a change is made.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

nchj commented 2 months ago

same here