-
-
Notifications
You must be signed in to change notification settings - Fork 414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Last but one item of Unordered list shown as a header #3061
Comments
Could you please provide an example in Markdown in a code block, so we can actually see what you are talking about? 😊 |
And maybe a screenshot... |
Steps to reproduce were wrong, sorry for that. Actual steps to reproduce this bug:
- unordered item 1
- unordered item 2
-
|
@Waqar144, this concerns the highlighter. Do you think you can fix that? It only happens when the note is opened, not during editing itself. |
Yep |
Thank you very much! |
Signed-off-by: Patrizio Bekerle <[email protected]>
There now is a new release, could you please test it and report if it works for you? |
Yes, this bug seems to be gone. Thank you. |
Great, thank you for testing! |
Signed-off-by: Patrizio Bekerle <[email protected]>
Vinyatu kindly asks to solve this issue in new versions of QON, as it's sort of critical for him. |
QubesOS may work better than NixOS with devbox, but it's kind of slow and resource-hungry, so generally vinyatu doesn't recommend it. What's the big deal with Qt6 - can't we release 2 versions of QON (Qt5 and Qt6) simultaneously? |
Well, that's the deal: https://github.com/pbek/QOwnNotes/actions/runs/10221164104 (see failed builds) |
Pull request is ready: pbek/qmarkdowntextedit#209 |
Not very hard to fix, except for the snap one which I don't understand. For windows, there is no reason to be using mingw, msvc should be used instead or at least a newer mingw which has full c++17 support. MacOS seems like a qmake issue. |
The regular Qt6 builds, like in https://github.com/pbek/QOwnNotes/actions/runs/10221164105 then would also need fixing. |
Signed-off-by: Patrizio Bekerle <[email protected]>
It's kind of sad that QON is still on Qt5 four years after Qt6 release - especially taking into the account this software name. vinyatu appreciates Waqar144's efforts to build QON with Qt6, but these builds seem to have a problem with SQL drivers, while pbek's builds run fine on Linux. vinyatu would like to offer help with transitioning to Qt6 (as it could possibly solve a host of problems), but it is prohibitively difficult for him to do so, since his country seems to be denied Qt service for a while. |
I made some Builds already work a while ago, but they stopped working again after github's infrastructure changed |
But nevertheless, all the Launchpad, Obs, freebsb, aur, slackware,... Und release would also need to change. And there are a lot! |
Signed-off-by: Patrizio Bekerle <[email protected]>
Signed-off-by: Patrizio Bekerle <[email protected]>
That's a partial success, thank you. However, there's one more issue left unnoticed - unordered list item
- unordered list subitem
- This produces an header both on Windows QON version 24.8.5 Built on Aug 13 2024 with Qt 5.15.2 |
So you are using a Tab character ( |
In editor panel, a single last dash in unordered list is treated as several "------" which denotes H2 header in Mardown. To my limited knowledge, this behaviour is not up to Mardown standards.
Expected behaviour
Actual behaviour
unordered list item 2
Steps to reproduce
Just leave a single dash of unordered list empty - it transformes the previous line to H2 header in editor, but not in preview panel.
Output from the debug section in the settings dialog
This bug is confirmed on different platforms and different versions of Windows and Linux, so no point of posting debug info here.
Discussion
One might argue that you should never leave the last item of unordered list empty. This objection may have merit, but not for people who migrate from other note-taking tools, which may have different standards for unordered lists.
The text was updated successfully, but these errors were encountered: