New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Citeproc warning when using a Mastodon profile link #3493
Comments
Hopefully this is still valid for Mastodon's link verification system? See also quarto-dev/quarto-cli#3493
If you use explicit yaml string by adding double quotes around the url, does the issue still occur? To note, your used "@" in several places, but the mastodon uri is the only place you did not make it clear to YAML that the value was a literal string. |
The issue still happens if it's quoted: - icon: mastodon
aria-label: mastodon
href: "https://fediscience.org/@andrew"
rel: me
|
@mcanouil quotes in this context won't change the resulting parsed string. YAML scalars are obnoxious. Usually I'd refrain from posting the spec, but y'all can take it :) https://yaml.org/spec/1.2.2/#73-flow-scalar-styles @andrewheiss I'm relatively sure this is a bug on citeproc (or on how we interface with citeproc). |
Oh, as another possible workaround, I tried percent encoding the |
For reference the mastodon issue has been resolved and using |
Just a data point: contrary to Personally, I just took the Mastodon link from my navigation bar for now, and will be following this bug report. BTW, thanks for Quarto so far! |
Bug description
With the recent addition of the
rel: me
option to navbars, it's now possible to include a link to a Mastodon profile and have it be verified on their end:Mastodon profile links typically include a
@
in their URL, likehttps://fediscience.org/@andrew
above. This causes a minor problem when working with citations, just like Twitter card issues in #1702. When a site's navbar has a URL with a@
, it causes a pandoc warning:It's not a breaking bug or anything, just kind of funny to see it happen with every page that gets rendered 🙃
This is with Quarto 1.3.26 in RStudio 2022.07.2+576 (and also in VS Code) on macOS Monterey 12.6
Checklist
The text was updated successfully, but these errors were encountered: