After a list item, '<<' in an indented codeblock breaks formatting

Steps to reproduce

  • create a new document with the following content:

- list:
```shell
cat << EOF > /tmp/file.txt
line 1
```
this line’s formatting gets broken

  • indent all content between and including the ‘```’ characteres.

Expected result

The formatting of the last line “this line’s formatting gets broken” should not change

Actual result

The formatting of the last line “this line’s formatting gets broken” did change.
If one of the ‘<’ characters is removed, the formatting behaves as expected.

Environment

  • Operating system:
  • Debug info:
    SYSTEM INFO:
    Obsidian version: v0.13.23
    Installer version: v0.13.23
    Operating system: Windows 10 Pro 10.0.19044
    Login status: not logged in
    Insider build toggle: off
    Live preview: on
    Legacy editor: on
    Base theme: dark
    Community theme: Atom
    Snippets enabled: 1
    Safe mode: off
    Plugins installed: 7
    Plugins enabled: 5
    1: Advanced Tables
    2: Dataview
    3: Obsidian Git
    4: Outliner
    5: Sliding Panes (Andy’s Mode)

RECOMMENDATIONS:
Custom theme: for cosmetic issues, please first try updating your theme to latest. If still not fixed, please try to make the issue happen in the help vault or disable community theme and snippets.
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the help vault or disable community plugins.


Additional information

images below of the issue reproduced in the help vault:
image
image
image
image

This behaviour occurs in the new and legacy editors.

thanks

1 Like

upstream report