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

markdown writer: preserve auto-link URLs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • 6.4.0 RC1, 6.5.0 Beta1
    • 6.2.0 FF
    • Core: I/O
    • 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

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

        Activity

          People

            srutledg Shawn Rutledge
            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