Angle brackets break Obsidian note parsing in Live Preview Edit mode

Before opening a new bug report, please search the forum for duplicates and follow the Troubleshooting Guide.

  • We only consider bugs that are reproducible in the sandbox vault or a vault with no third-party plugins/no css snippets/default theme.
  • For Linux, we only accept bug reports that are reproducible with our AppImage or Snap package under Gnome or KDE.
  • Developer issues with the API should go here
  • Themes and Custom CSS issues should go here
  • Translations issues/improvements should be posted here
  • Obsidian Clipper Bugs should be posted here
  • Obsidian Importer Bugs should be posted here

Once you’ve done the above, delete everything above this line.

Steps to reproduce

create a number of bulleted sentences with text. In the text of one line, say in the middle of the unordered list, put say <xxxx> is mine.

Did you follow the troubleshooting guide? [Y/N]

Happens in my vault started in restricted mode, no Community plugins active, not snippets and default theme

Expected result

Actual result

All the lines after this will fail to show bullets and will indent or outdent an unpredictable number of space when TAB or Shift-TAB is used.

Environment

SYSTEM INFO:
Obsidian version: v1.10.6
Installer version: v1.6.7
Operating system: Windows 11 Home 10.0.26200
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: light
Community theme: none
Snippets enabled: 4
Restricted mode: on
RECOMMENDATIONS:
Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.


Additional information

Obsidian supports HTML to allow you to display your notes the way you want, or even embed web pages.

https://help.obsidian.md/Editing+and+formatting/HTML+content


Obsidian is treating <xxxx> as an opening HTML tag that’s not closed. You have a few options depending on what you are trying to do.

close the tag:

- one
- "'<xxxx></xxxx> is mine."
- three

mark is as inline code with single backticks:

- one
- "'`<xxxx>` is mine."
- three

escape the first bracket using a backslash:

- one
- "'\<xxxx> is mine."
- three

You’ll notice the forum treats its as HTML too. I edited the post to make it visible. When you post example Markdown, HTML, or other code, you need to mark it as code to prevent the forum software from rendering or garbling it.