Skip to content
forked from pkp/pkp-lib

Commit

Permalink
Do not remove numbers from the beginning of each citation:
Browse files Browse the repository at this point in the history
  • Loading branch information
GaziYucel committed May 22, 2024
1 parent 3a71ad6 commit f4909ba
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions classes/citation/CitationListTokenizerFilter.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ function &process(&$input) {
} else {
$citations = explode("\n", $input);
}
// 4) Remove numbers from the beginning of each citation.
foreach($citations as $index => $citation) {
$citations[$index] = PKPString::regexp_replace('/^\s*[\[#]?[0-9]+[.)\]]?\s*/', '', $citation);
}

return $citations;
}
Expand Down

0 comments on commit f4909ba

Please sign in to comment.