The code in the callout goes beyond it in edit mode

Steps to reproduce

  1. In a sandbox vault, create a note named “Html” with the following content :

>[!top] Html
> ```html
> <!DOCTYPE html>
> <html>
> <head>
>     <title>Название страницы</title>
>     <meta charset="UTF-8">
> </head>
> <body>
>     <h1>Заголовок статьи</h1>
>     <p>Это абзац текста на странице.</p>
>     <img src="image.jpg" alt="Описание изображения">
>     <a href="https://example.com">Ссылка на другой сайт</a>
> </body>
> </html>
> ```
  1. The code in the callout goes beyond it in edit mode.

Did you follow the troubleshooting guide? [Y]

Expected result

I expected to see the code inside the callout, not outside it.

Actual result

The code in the callout goes beyond it in edit mode.

Obsidian_S0hmPwPCT9

Please fix it. When editing text, it interferes with the work and is very annoying.

Environment
SYSTEM INFO:
Obsidian version: v1.7.6
Installer version: v1.4.16
Operating system: Windows 10 Home 10.0.19045
Login status: not logged in
Language: ru
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none

This is issue with specific HTML code, not a generic code in callout. This also happen if you indent the code block under a list. You can test with other programming languages and it won’t happen.

Yes, you’re right. Thanks for the reply. But I would not like to see a similar error in the html code inclusive. In any case, this is a mistake, and developers should pay attention to it. I apologize in advance for my English.