Description
Hi,
Thank you so much for creating cite2c. It is really great. The following figure shows an example rendering in the default (chicago-author-date) citation style.
I wanted to change the citation style from chicago-author-date to another style (specifically to frontiers-in-optics). So, after downloading the appropriate CSL files from Zotero reference, I changed chicago-author-date.csl
to frontiers-in-optics.csl
in rendering.js
. However, I got the following output:
As you can see, a line break was inserted after every number in the numbered list.
In order to prevent this from happening I changed the <div>...</div>
to <span>...</span>
for rendering csl-left-margin
and csl-right-inline
in the file citeproc.js
which produced the following (expected) output:
The problem is that I'm not sure if this change could have any adverse effect on the code. If you think that it will, it would be get if you could suggest an alternative.
Thank you.