Qownnotes: Strange heading format behaviour

Created on 28 May 2020  路  10Comments  路  Source: pbek/QOwnNotes

Version

20.5.12

Expected behaviour

Consistently format all headings

Actual behaviour

Some heading aren't formatted consistently when the last word is a single character. In this case, this character is displayed as 芦normal禄. It doesn't happen with every character, only some.
In my experience:

b, B, c, f, F, g, h, H, i, j, J, k, K, l, L, m, M, n, p, q, Q, r, s, t, T, v, V, w, W, x, X, z, 帽, 脩 莽, 脟, 啪, 沤, 艂, 艁, 谩, 脕, 茅, 脡, 铆, 脥, 煤, 脷, 盲, 脛, 毛, 脣, 茂, 脧, 枚, 脰, 眉, 脺, 脿, 脌, 猫, 脠, 矛, 脤, 貌, 脪, 霉, 脵, 忙, 脝.

Steps to reproduce

Type:

# 1234566 B

image

Sometimes it triggers, sometimes it doesn't. But if you keep experimenting it shows again.

image

image

Somewhere around 11-12 character and on it produces the same output.

image

Low Bug

Most helpful comment

Yes, I can reproduce it.
I will fix it soon.

All 10 comments

That's a funny one... Unfortunately I wasn't able to reproduce that.
@Waqar144, do you know anything about that?

Yeah, quite funny. In order to reproduce it, the last character has to be one of the above posted, not a space.

Working on Arch/Gnome

I tried all kind of ways to type exactly your examples. :grimacing:

Alas! I've found the source of the issue: Check spelling... If I unselect it, it formats as it has to.

It is reported: [14:15:42] [warning] Missing trigrams for languages: QSet("de_LU", "fr_BE", "fr_LU", "fr_CH", "de_BE", "it_CH", "de_CH", "de_LI", "fr_CA")

Even more strange. @Waqar144?

Yes, I can reproduce it.
I will fix it soon.

20.6.0

  • fix markdown heading highlighting issue (for #1777, thank you @Waqar144)

There now is a new release, could you please test it and report if it works for you?

As far as I can tell, it's solved. Perfect!

:1st_place_medal:

Great, thank you for testing!

Was this page helpful?
0 / 5 - 0 ratings