Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-94713

markdown writer: preserve auto-link URLs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Done
    • Affects Version/s: 6.2.0 FF
    • Fix Version/s: 6.4.0 RC1, 6.5.0 Beta1
    • Component/s: Core: I/O
    • Labels:
      None
    • Commits:
      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            srutledg Shawn Rutledge
            Reporter:
            srutledg Shawn Rutledge
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes