diff --git a/news/changelog-1.9.md b/news/changelog-1.9.md index 9c327bc5e1d..7b5ef8f02a2 100644 --- a/news/changelog-1.9.md +++ b/news/changelog-1.9.md @@ -79,6 +79,7 @@ All changes included in 1.9: - ([#13570](https://github.com/quarto-dev/quarto-cli/pull/13570)): Replace Twitter with Bluesky in default blog template and documentation examples. New blog projects now include Bluesky social links instead of Twitter. - ([#13716](https://github.com/quarto-dev/quarto-cli/issues/13716)): Fix draft pages showing blank during preview when pre-render scripts are configured. - ([#13847](https://github.com/quarto-dev/quarto-cli/pull/13847)): Open graph title with markdown is now processed correctly. (author: @mcanouil) +- ([#9468](https://github.com/quarto-dev/quarto-cli/issues/9468)): Respect `link-external-newwindow: true` in "default" type listing. (author: @mcanouil) ### `book` diff --git a/src/resources/formats/html/_quarto-rules-link-external.scss b/src/resources/formats/html/_quarto-rules-link-external.scss index 0573dd03a76..f021574e42b 100644 --- a/src/resources/formats/html/_quarto-rules-link-external.scss +++ b/src/resources/formats/html/_quarto-rules-link-external.scss @@ -20,6 +20,10 @@ a.external:after:hover { cursor: pointer; } +.quarto-listing-default a.external:after { + content: none; +} + .quarto-ext-icon { display: inline-block; font-size: 0.75em; diff --git a/src/resources/projects/website/listing/item-default.ejs.md b/src/resources/projects/website/listing/item-default.ejs.md index 91114a7867f..6a2fee9db2d 100644 --- a/src/resources/projects/website/listing/item-default.ejs.md +++ b/src/resources/projects/website/listing/item-default.ejs.md @@ -41,7 +41,7 @@ print(`
${listing.utilities.outputLi <% if (fields.includes('image')) { %> ```{=html} -
+
<% if (item.image) { %> <%= listing.utilities.img(itemNumber, item.image, "thumbnail-image", item['image-alt'], item['image-lazy-loading'] ?? listing['image-lazy-loading']) %> <% } else { %> @@ -55,9 +55,9 @@ print(`