Closed jmnobrega closed 3 months ago
I investigated a little bit and here is what I have found out:
It seems the library we use assumes that the citations are displayed in an HTML page. It returns the citation styles coated withing two
Also, our abstract contains HTML elements.
However the BibTex and RIS format are not displayed on the page as the other formats, but provided by us for download. We do remove the
That means that, for example, a title would then look like this there:
Title & Test
or abstract would look like this:
<p>The antimicrobial, heavy metal resistance patterns and ... (>56.4 kb) encoding .... </p>
.
Thus, I can see the following possibilities how to deal with it:
I think I prefer the solution #1.
Hmm... Now I see that we save some parts of the title and abstract html encoded, for example:
<p>Abstract: One more test' < <strong>EN & sign </strong> bla bla... </p>
So the only solution is to somehow disable the encoding by the library we use... :-\
Hmmm... I think we can use htmlspecialchars_decode
for download citations BibTeX and RIS
Fixes will be covered by https://github.com/pkp/citationStyleLanguage/issues/118
When exporting to bibtex or RIS formats the abstract contents include
<p>
and</p>
(in the form of<p>
and</p>
), at the beginning and end. Those characters are not part of the abstract contents added to the publication.