pkp / pkp-lib

The library used by PKP's applications OJS, OMP and OPS, open source software for scholarly publishing.

Home Page:https://pkp.sfu.ca

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Do not remove numbers from the beginning of each citation

bozana opened this issue · comments

Remove this part of the code https://github.com/pkp/pkp-lib/blob/stable-3_4_0/classes/citation/CitationListTokenizerFilter.php#L59-L62, that removes numbers from the beginning of each citation.
S. https://forum.pkp.sfu.ca/t/if-a-reference-list-item-starts-with-a-numeral-it-is-removed-3-1-2-4-and-3-3-0-15/87845.
This way the correct citations that start with a number will be correctly reprocessed and displayed. For the others, that this part of the code tries to solve: actually the editor is responsible for entering the correct citations and not for example a numbered list.

PRs:
stable-3_3_0:

stable-3_4_0:

main:

Hi @jonasraoni, could you please take a look at the PR above?

Thanks for reminding me! I'll take a look :)