-
Notifications
You must be signed in to change notification settings - Fork 11
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
"<" is ignored in prefix #129
Comments
Sorry, it was quite late here when I've seen this and I just wanted to note down the issue so I don't forget. I've seen this behaviour for DOI, it seems to happen regardless of <text variable="DOI" prefix=" <https://doi.org/" suffix=">"/> And here is screenshot from the playground: |
Oh, I see it. It is over-parsing the affixes, because the superscript parser is only used inside the HTML parser. It needs to parse the hacky superscripts, but not actual HTML. The HTML5 parser used in citeproc-rs dutifully (and I presume correctly according to that spec) ignored an incomplete/invalid The affixes have their XML entities pre-processed, so that part is already done, the HTML parser doesn't need to be involved at all. |
This is a good catch, thanks. |
Some styles use "<" character in prefix (encoded as
<
). This seems to be ignored and doesn't render.The text was updated successfully, but these errors were encountered: