Bold with dot inside is making the following text bold

Steps to reproduce

  1. Create a new Note
  2. Write two lines
subdomain.example.com
another.example.com
  1. Now make the ‘subdomain.’ bold
**subdomain.**example.com
another.example.com
  1. In Editing mode, you will see the next line got bold too
  2. If you unbold the text, you will see this:
subdomain.**example.com
another.example.com

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

Y

Expected result

  • Only the ‘subdomain.’ portion should be bold, not the text thereafter
  • Only the ‘subdomain.’ portion should be unbold, but it remains two asterisk at the end

Expected behavior can be easily checked with

**bold**Text
secondLine

This should work fine

Actual result

I attached a GIF here
344426047-bbdce6ff-f681-4a73-8e01-3020fbd9fbb1

Environment

SYSTEM INFO:
	Obsidian version: v1.6.5
	Installer version: v1.5.11
	Operating system: Darwin Kernel Version 23.5.0: Wed May  1 20:14:59 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T8122 23.5.0
	Login status: not logged in
	Insider build toggle: off
	Live preview: on
	Base theme: light
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none

Additional information

I tried even in Sandbox Vault, it’s behaving the same.

Indeed, this appears to be a quirck in the parsing of markdown formatting in editing mode, which I also do not understand. A workaround would be to terminate the bold formatting before the dot, i.e. **subdomain**.example.com