Skip to content

Commit

Permalink
minor correction
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Nov 19, 2024
1 parent 44b3713 commit 734d474
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,8 @@ public String buildInfo() {
}
authorNames += "</ul>";
String citation = "<ul>";
if (this.cite == null)
cite = new ArrayList<>();
for (Cite ci : this.cite) {
if (ci.getUrl() != null && ci.getText() != null)
citation += "<li><a href='" + ci.getUrl() + "'>" + ci.getText() + "</a></li>";
Expand Down

0 comments on commit 734d474

Please sign in to comment.