-
Notifications
You must be signed in to change notification settings - Fork 71
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
Faulty underscore escaping in URLs #4
Comments
I would suggest to make escaping optional, as some editors such as TexStudio do not support escaped texts if used in a separate ".bib" file. |
FlamingTempura
added a commit
that referenced
this issue
Jul 18, 2019
Added escaping URLs as an option Try it out and let me know if this solves your problem: https://flamingtempura.github.io/bibtex-tidy/ |
Looks good to me, thank you! :) |
Perfect! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
BibTeX Tidy attempts to escape some characters (here: the underscore
_
by\_
) in URLs, which does then break the URL. I encountered this problems with Biber. Biber allows_
and fails with\_
, though, BibTeX and BibLaTex may behave exactly in the opposite way.As suggested here, underscores should rather be represented by their HTML encoding
%5F
which works fine for me in Biber (though, maybe someone should also test this with BibTeX and BibLaTex).In general, using percent-encodings in URLs should always be supported (see here). I guess this would be a good strategy for all special characters in URL fields, not only underscores.
Example:
Tidied-up example:
Suggested correction:
The text was updated successfully, but these errors were encountered: