REStud / templatereadme.org

https://templatereadme.org
MIT License
1 stars 0 forks source link

Bug: do not render HTML comment #8

Closed korenmiklos closed 2 years ago

korenmiklos commented 2 years ago

Describe the bug HTML comments should not be rendered in preview.

To Reproduce Steps to reproduce the behavior:

  1. Go to editor
  2. Pick any section
  3. Enter a HTML comment like
    <!---
    comment
    -->
  4. See error

Expected behavior Comment should be hidden from preview

korenmiklos commented 2 years ago

I am hesitant to turn on full HTML parsing. It is very hard to get comments otherwise, they do not behave like regular HTML elements.