Skip to content
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

Escape bibtex #2540

Merged
merged 5 commits into from
May 14, 2024
Merged

Escape bibtex #2540

merged 5 commits into from
May 14, 2024

Conversation

hadley
Copy link
Member

@hadley hadley commented May 13, 2024

No description provided.

@hadley hadley requested a review from maelle May 13, 2024 21:25
Copy link

github-actions bot commented May 13, 2024

@maelle
Copy link
Collaborator

maelle commented May 14, 2024

If the concern is only the <doi:> thing why not transform them to links?

@maelle
Copy link
Collaborator

maelle commented May 14, 2024

there could still be escaping but the DOIs are a worthy special case?

@hadley
Copy link
Member Author

hadley commented May 14, 2024

I think the root cause of the issue is that bibtex isn't properly escaped; that leads to the xml parsing errors.

It seems weird to me to autolink the DOI in the bibtex. It would make sense to auto-link it in the HTML, but that's generated by R, so I don't think is pkgdown's responisibility.

@hadley hadley merged commit 3729c9a into main May 14, 2024
13 checks passed
@hadley hadley deleted the escape-bibtex branch May 14, 2024 16:36
SebKrantz pushed a commit to SebKrantz/pkgdown that referenced this pull request Jun 1, 2024
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