Multi-Paragraph Italics Formatting Issue

Steps to reproduce

  1. Open a new or existing document in the obsidian editor.
  2. Type and select more than one paragraph.
  3. Press Ctrl + I to italicize the selected paragraphs.

Expected result

The selected paragraphs are italicized.

Actual result

The algorithm puts an asterisk at the front and back of the entire selection, causing the paragraphs to appear as a single italicized paragraph and antother in plain text.

Environment

  • Text Editor version: 1.1.16
  • Operating System: Windows 10

Additional information

N/A