Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ dependencies {
// route all requests to log4j to SLF4J
implementation 'org.apache.logging.log4j:log4j-to-slf4j:2.24.3'

implementation('de.undercouch:citeproc-java:3.1.0') {
implementation('de.undercouch:citeproc-java:3.2.0') {
exclude group: 'org.antlr'
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ static Stream<Arguments> ooHTMLTransformFromRawBibliography() {

// Small-caps
Arguments.of(
" <smallcaps>Smith</smallcaps>, <smallcaps>B.</smallcaps>, <smallcaps>Jones</smallcaps>, <smallcaps>B.</smallcaps>, <smallcaps>Williams</smallcaps>, <smallcaps>J.</smallcaps> (2016) Title of the test entry <smallcaps>Taylor</smallcaps>, <smallcaps>P.</smallcaps> (ed.). <i>BibTeX Journal</i>, 34(3), pp. 45–67.<p></p>",
" <smallcaps>Smith</smallcaps>, <smallcaps>B.</smallcaps>, <smallcaps>Jones</smallcaps>, <smallcaps>B.</smallcaps> and <smallcaps>Williams</smallcaps>, <smallcaps>J.</smallcaps> (2016) Title of the test entry <smallcaps>Taylor</smallcaps>, <smallcaps>P.</smallcaps> (ed.). <i>BibTeX Journal</i>, 34(3), pp. 45–67.<p></p>",
STYLE_LIST.stream().filter(e -> "De Montfort University - Harvard".equals(e.getTitle())).findAny().get()
),

Expand Down Expand Up @@ -305,7 +305,7 @@ static Stream<Arguments> ooHTMLTransformFromCitationWithSingleEntry() {
),

Arguments.of(
"(Smith, Jones, Williams, 2016)",
"(Smith, Jones, & Williams, \"Title of the test entry\")",
STYLE_LIST.stream().filter(e -> "De Montfort University - Harvard".equals(e.getTitle())).findAny().get()
),

Expand Down Expand Up @@ -429,7 +429,7 @@ static Stream<Arguments> ooHTMLTransformFromCitationWithMultipleEntries() {
),

Arguments.of(
"(Garcia, Lee, 2021; Smith, Johnson, 2020)",
"(Garcia & Lee, \"Quantum Entanglement in Superconductors\"; Smith & Johnson, \"A Study on Machine Learning Algorithms\")",
STYLE_LIST.stream().filter(e -> "De Montfort University - Harvard".equals(e.getTitle())).findAny().get()
),

Expand Down