Skip to content

Use 'data-qmd-base64' attr with base64 text when passing Markdown text to Quarto for processing #1688

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

Merged
merged 1 commit into from
May 29, 2024

Conversation

rich-iannone
Copy link
Member

This PR makes text for Markdown processing more resilient by transforming it to a base64-encoded string. In this way we can avoid having to escape double quotes (common within HTML tags); we only need to ensure the attribute used is "data-qmd-base64" (previously, we used "data-qmd").

Fixes: #1487
Fixes: #1488

@rich-iannone rich-iannone merged commit 18d60ad into master May 29, 2024
12 checks passed
@rich-iannone rich-iannone deleted the quarto-md-fix branch May 29, 2024 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants