Details
-
Bug
-
Resolution: Done
-
P4: Low
-
6.2.0 FF
-
None
-
846b314aaf (qt/qtbase/dev) 846b314aaf (qt/tqtc-qtbase/dev) d4db1ef7db (qt/qtbase/6.4) d4db1ef7db (qt/tqtc-qtbase/6.4)
Description
If you paste a URL into a QTextEdit and save to markdown, it gets turned into a redundant form (view source to see, because Jira is rendering this differently):
{{
https://foo.com(https://foo.com/)
}}
That's valid and renders OK; but for the sake of compactness we ought to leave it as a naked URL (which will be a link anyway), or an autolink: https://spec.commonmark.org/0.30/#autolinks