-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Ampersand is rendered as & in preview (double HTML escaping) #3840
Comments
it's actually the same for any HTML entity: |
Hi, @j0hannes Actually, jabref/src/main/java/org/jabref/logic/util/strings/HTMLUnicodeConversionMaps.java Line 435 in 3c54c02
Would you like to give a simple sample of raw |
renders as |
This issue probably only happens for CSL-previews and not for the layout based ones. |
This is the same thing as I reported, post closed, in Entry preview: Umlaut and ring diacritic not rendered correctly when APA and IEEE preview layout is selected #5779, just like @tobiasdiez point out. |
Thanks to @JosejeSinohui this should be fixed in the latest development version. Could you please check the build from http://builds.jabref.org/master/. Thanks! Please remember to make a backup of your library before trying-out this version. |
I've spent a couple of hours on this and my findings are very unclear... I can no longer recreate the issue. If the Vimeo video has not been pre-loaded, when you tap on it you'll a button for sound (note that we are using muted=1) and another for full screen. If you tap either, then the next bit of speech will cause the video to pause. This can be prevented by setting autopause=0 (by hand, through the inspector). But the odd thing is that if you debug the code, it looks like autopause=0 should already have been in the URL. VideoUtil.buildVimeoOptions has been returning strings with "&" in them. The manual Vimeo videos end up with "&" in the URL, which might be causing issues. Much better is to use just "&" in the string, then return it to the TML with new URL(string), which will encode it as needed. However, VideoUtil.toEmbeddedURLWithOptions has 9 callers. I will have to return to this issue when I have time to change and test them all. But... there is no guarantee that the above will solve the issue, because I can't recreate it. |
JabRef version 4.2-dev
Steps to reproduce:
The text was updated successfully, but these errors were encountered: