Skip to content

Commit

Permalink
fix(rawcopyright): Restore XML validity by renaming closing tags
Browse files Browse the repository at this point in the history
  • Loading branch information
annelhote committed Oct 29, 2024
1 parent bd6ddae commit 769cbdd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ public StringBuilder toTEIHeader(BiblioItem biblio,
if (config.getIncludeRawCopyrights() && biblio.getCopyright() != null && biblio.getCopyright().length()>0) {
tei.append("\t\t\t\t\t<p type=\"raw\">");
tei.append(TextUtilities.HTMLEncode(biblio.getCopyright()));
tei.append("</note>\n");
tei.append("</p>\n");
}

tei.append("\t\t\t\t</availability>\n");
Expand All @@ -315,7 +315,7 @@ public StringBuilder toTEIHeader(BiblioItem biblio,
if (config.getIncludeRawCopyrights() && biblio.getCopyright() != null && biblio.getCopyright().length()>0) {
tei.append("\t\t\t\t\t<p type=\"raw\">");
tei.append(TextUtilities.HTMLEncode(biblio.getCopyright()));
tei.append("</note>\n");
tei.append("</p>\n");
}

tei.append("\t\t\t\t</availability>\n");
Expand Down

0 comments on commit 769cbdd

Please sign in to comment.