# Indented HTML in list

**URL:** <https://talk.commonmark.org/t/indented-html-in-list/4722>\
**Category:** Spec\
**Created:** [September 12, 2024, 11:43am UTC](https://talk.commonmark.org/t/indented-html-in-list/4722 "2024-09-12T11:43:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![igormironchik](https://talk.commonmark.org/user_avatar/talk.commonmark.org/igormironchik/32/2850_2.png) [@igormironchik](https://talk.commonmark.org/u/igormironchik)\
**Post date:** [September 12, 2024, 11:43am UTC](https://talk.commonmark.org/t/indented-html-in-list/4722/1 "2024-09-12T11:43:06Z")

</div>

Could anybody tell me why HTML interrupts here:

```md
- list
  <!--
-->

```

but not here:

```md
- list
  <!--
  -->

```

As an opposite example, here:

```md
- list
  text
text

```

where all is in list.
