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

URL encoded URLs raise warnings. #88

Open
hyginn opened this issue Sep 9, 2021 · 0 comments
Open

URL encoded URLs raise warnings. #88

hyginn opened this issue Sep 9, 2021 · 0 comments

Comments

@hyginn
Copy link

hyginn commented Sep 9, 2021

What happens:
A warning is raised when URL-escaped URLs are printed.

REPREX:

item <- list(bibtype = "Misc", 
     title = "Software bug", year = "2021",
     url = "https://en.wikipedia.org/wiki/Software%20bug", 
     key = "wikipedia2021bug")
myBib <- RefManageR::as.BibEntry(item)
myBib
# [1] _Software bug_. 2021. <URL: https://en.wikipedia.org/wiki/Software%20bug}.>
# Warning message:
# wikipedia2021bug: unexpected END_OF_INPUT '
# ' 

What should happen instead:
No warning should be raised. The URL-escaped format is the proper way to store URLs.

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

No branches or pull requests

1 participant