Skip to content

Shortcodes not escaped in Release Notes #13322

@lachlansimpson

Description

@lachlansimpson

I have:

  • searched the issue tracker for similar issues
  • installed the latest version of Quarto CLI
  • formatted my issue following the Bug Reports guide

Bug description

A Posit ticket came in with the error:

WARNING (/opt/quarto/1.4.553/share/filters/main.lua:18491) Shortcode 'lipsum' not found
[typst]: Compiling test.typ to test.pdf...error: function `table` does not contain field `cell`

Given the age of the version, the first thing I did was look in the release notes for older versions for lipsum, without success.

Then I found a file from Charles suggesting it should be in 1.3:

title: Lipsum
author: Charles Teague
version: 1.0.2
quarto-required: ">=1.3.0"
contributes:
  shortcodes:
    - lipsum.lua

But looking at the blame link, I see it was introduced in Quarto 1.5:
b102053

Sure enough, if you go to the changelog in source code, you see it was introduced in 1.5:
https://github.com/quarto-dev/quarto-cli/blob/main/news/changelog-1.5.md

So why wasn't it found when I searched in the release notes? I noted that it was at the bottom of the page in the source, so I scrolled down and down and down and found that the phrase lipsum doesn't appear because it has been shortcoded with some Lorem ipsum:

Image

https://quarto.org/docs/download/changelog/1.5/

Many laughs, what fun! Thanks team, love your work.

Steps to reproduce

Search the public release notes for lipsum - tbh, potentially any short codes in the release notes will be affected?

Actual behavior

The shortcode works as it is mean to.

Expected behavior

The shortcode is escaped in the release notes.

Your environment

github

Quarto check output

NA

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdocumentationDoc improvements & quarto-webshortcodesissues related to shortcodes

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions