Punctuation marks causing Markdown bold display to fail

Hello. Okay
hello. yes

As shown above, bold formatting is not working.

Hello. Okay

Hello. Okay

hello. Okay

Eh? No matter if I’m using ** or B-button I get bolded text. Same with markdown editor and RTE.

**Hello. Okay.**hello

There is punctuation before the final **, followed immediately by text. Give it a try.

The following format will not work
**+text+punctuation+**+text

hello. Okey. some text

And

hello okey without punctuation

But if we don’t use space after punctuation and ending ** that happens:

**hello okey.**text
**hello okey.**text

Versus

**hello okey.** text
hello okey. text

I don’t know if this is a bug or a feature of markdown, or something.