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
Attachments
For Gerrit Dashboard: QTBUG-94713 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
417472,5 | Emit autolinks in QTextMarkdownWriter | dev | qt/qtbase | Status: MERGED | +2 | 0 |
418704,2 | Emit autolinks in QTextMarkdownWriter | 6.4 | qt/qtbase | Status: MERGED | +2 | 0 |