pbek / QOwnNotes

QOwnNotes is a plain-text file notepad and todo-list manager with Markdown support and Nextcloud / ownCloud integration.
https://www.qownnotes.org/
GNU General Public License v2.0
4.69k stars 414 forks source link

[I] Insert textlink generates wrong markdown #3159

Open BsNoSi opened 2 hours ago

BsNoSi commented 2 hours ago

Expected behaviour

Using text link creates a correct notation for hyperlink with title:

[link text](URL "link text title")

Actual behaviour

Result of this input image looks like this:

[link text](http://URL) link text title

Steps to reproduce

Use »insert text link« for inserting a text link


Note:

The cursor highlighting of the 'simplified operation' in Windows is always incorrectly positioned. in the editor window 'grossly incorrect':

image

I don't have another qt application for comparison. I suspect it's a bug there (so QQwnNotes ‘has to live with it’). Hence, no error message for it.

Relevant log output in the Log panel

Expand ``` [06:15:03] [debug] updatePanelMenu - 'updatePanelMenu' ```

Information about the application, settings and environment

Expand QOwnNotes Debug Information =========================== ## General Info **Current Date**: `Fr Nov 15 06:15:08 2024` **Version**: `24.11.2` **Build date**: `Nov 13 2024` **Build number**: `1139` **Platform**: `windows (windows)` **Operating System**: `Windows 10 Version 2009` **Build architecture**: `x86_64` **Current architecture**: `x86_64` **Release**: `GitHub Actions` **Qt Version (build)**: `5.15.2` **Qt Version (runtime)**: `5.15.2` **Portable mode**: `no`
pbek commented 2 hours ago

link text

That's not vanilla Markdown. There is no "description" in Markdown. In the case of QOwnNotes it's just some extra text you can add after the link for more clarity (like used for the "bookmark" feature).

Use »insert text link« for inserting a text link

And then?