path: root/src/dbus/doc/src
diff options
authorShawn Rutledge <>2022-06-20 22:19:34 +0200
committerShawn Rutledge <>2022-06-24 22:42:43 +0200
commit846b314aaf484a3cb62d466660c08bbde00542cb (patch)
treecb2f3af13e11b5367cf006542b15d2ae3a83ebef /src/dbus/doc/src
parent56f0ebfe860e440dcbba8997f44836debc901119 (diff)
Emit autolinks in QTextMarkdownWriter
When a markdown document contains a "naked" URL, or an angle-bracketed <URL>, md4c recognizes it, and we set the AnchorHref charfmt property. There's no need to expand it into the [text](url) form if the text is the same as the url, there is no tooltip, and the url is valid. QTextMarkdownWriter now writes a CommonMark "autolink" in that case: [ChangeLog][QtGui][Text] QTextMarkdownWriter now writes an autolink whenever a hyperlink has no custom text and no tooltip, including when the document was parsed from Markdown containing a naked URL. Pick-to: 6.4 Fixes: QTBUG-94713 Change-Id: I432db8499c62e1e0b1e913bfd8ef2147e3c2bb2a Reviewed-by: Qt CI Bot <> Reviewed-by: Allan Sandfeld Jensen <>
Diffstat (limited to 'src/dbus/doc/src')
0 files changed, 0 insertions, 0 deletions