Allow HTML comments containing "--" even though it is not allowed by the CommonMark specification because it is allowed by the HTML specification and it happens in real life (fixes #996).

This commit is contained in:
David Anson 2023-10-07 20:18:43 -07:00
parent d2faf40e6a
commit 6eca6f1c3d
5 changed files with 53 additions and 3 deletions

View file

@ -0,0 +1,14 @@
<!--
---
title: Front Matter YAML in HTML Comment
not-md035: |-
***
* * *
description: |-
This document has YAML front matter inside an HTML comment.
---
-->
# Front Matter YAML in HTML Comment
Text text text