Skip to content

Conversation

@mcanouil
Copy link
Collaborator

@mcanouil mcanouil commented Dec 28, 2025

Correct the processing of license metadata to ensure proper handling of inline license elements.

The typo prevented from using license.text in template/partials/shortcodes when license: "my license" was used.

Note that version is not added to "text" for CC0 licenses because for some reason, the URL/parsing is created in TypeScript for this license.

---
format: html
license: "Whatever"
---

{{< meta license.text >}}
---
format: html
license: "CC BY"
---

{{< meta license.text >}}
---
format: html
license: "CC0"
---

{{< meta license.text >}}

@mcanouil mcanouil self-assigned this Dec 28, 2025
@posit-snyk-bot
Copy link
Collaborator

posit-snyk-bot commented Dec 28, 2025

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@mcanouil mcanouil changed the title fix: correct license metadata processing fix(license.lua): correct license metadata lua processing Dec 28, 2025
@mcanouil mcanouil marked this pull request as draft December 28, 2025 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants