Inconsistent result when applying formatting to links etc. in the editor

Steps to reproduce

Add the following text in the editor:

==~~***pre text post***~~==
==~~***pre `code` post***~~==
==~~***pre #tag post***~~==
==~~***pre https://url.url post***~~==
==~~***pre [[link]] post***~~==
==~~***pre [link](url) post***~~==
==~~***pre ![[embed]] post***~~==
==~~***pre ![embed](url) post***~~==
==~~***pre <em>html</em> post***~~==
==~~***pre text[^footref] post***~~==
==~~***pre \`\* post***~~==

Expected result

Elements should be consistently formatted.

Actual result

result
Some parts of text is affected by the formatting while others are not.

Environment

  • Operating system: Windows 10
  • Obsidian version:0.6.4
  • Using custom CSS: No

Additional information

Inspecting the html shows that the unformatted elements simply don’t have the classes you’d expect.

Interesting corner cases to look at @Licat

1 Like