Folded Indent Ending In Code Renders as Code When Folded

Steps to reproduce

  • Install Obsidian
  • Enable “Fold Indent”
  • Create a document with the content between the lines of dashes:

  • foo
    • foo.1
      nested
      
  • bar

  • Fold “foo” or “foo.1”

Expected result

  • foo or foo.1 fold, without altering their formatting

Actual result

  • foor or foo.1 get formatted as a code block

Environment

  • Operating system: Happens on both MacOS and Windows 10

  • Obsidian version: 0.12.3


Additional information

image

image

image

Please seach before posting.