zotero-better-bibtex: BBT does not escape # in first argument of \href in note
Debug log ID
I am not willing to provide any personal data
What happened?
When a note has a URL in it, BBT does not escape the # character in \href’s first argument:
Note in Zotero:
Created item:
@misc{TheKey,
title = {TheTitle},
author = {{TheAuthor}},
date = {2023},
note = {\href{https://www.example.com/#foo}{https://www.example.com/\#foo}}
}
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 22 (15 by maintainers)
Commits related to this issue
- fixes #2617 — committed to retorquere/zotero-better-bibtex by retorquere a year ago
- test cases for #2617 — committed to retorquere/zotero-better-bibtex by retorquere a year ago
- testcases for #2617 — committed to retorquere/zotero-better-bibtex by retorquere a year ago
- Merge branch 'master' into gh-2617 — committed to retorquere/zotero-better-bibtex by retorquere 10 months ago
- Merge branch 'master' into gh-2617 — committed to retorquere/zotero-better-bibtex by retorquere 10 months ago
Looks like I owe you an apology @2017MK2017. ~I’ll get you a fix later today.~ this is going to take a little longer. My bibtex generator is largely stateless, so “is used as an argument” is going to take some tinkering.
@njbart many thanks, I don’t know how you unearth these things.