Skip to content

Commit c2a06e0

Browse files
committed
Comment added for replaceFormatter.setArgument(' ,-')
1 parent fe03fc4 commit c2a06e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jablib/src/main/java/org/jabref/logic/exporter/AcademicPagesExporter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public void export(@NonNull final BibDatabaseContext databaseContext,
107107

108108
private static @NonNull Path getPath(BibEntry entry, Path exportDirectory) {
109109
Replace replaceFormatter = new Replace();
110-
replaceFormatter.setArgument(" ,-");
110+
replaceFormatter.setArgument(" ,-"); // The replaceFormatter expects a "-" instead of " " hence the strange argument.
111111
RemoveLatexCommandsFormatter commandsFormatter = new RemoveLatexCommandsFormatter();
112112
HTMLChars htmlFormatter = new HTMLChars();
113113
String title = entry.getTitle().get();

0 commit comments

Comments
 (0)