Skip to content

Commit b8e281c

Browse files
jnchin314calixtus
authored andcommitted
JabRef#12536 - adding '$' to the unwanted_citation_key_characters (JabRef#12796)
* JabRef#12536 - adding '$' to the unwanted_citation_key_characters as a default. * JabRef#12536 - changelog! * Update CHANGELOG.md --------- Co-authored-by: Carl Christian Snethlage <[email protected]>
1 parent a96590c commit b8e281c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv
2727

2828
### Changed
2929

30+
- Added "$" to the citation key generator preferences default list of characters to remove [#12536](https://github.com/JabRef/jabref/issues/12536)
3031
- We changed the message displayed in the Integrity Check Progress dialog to "Waiting for the check to finish...". [#12694](https://github.com/JabRef/jabref/issues/12694)
3132
- We moved the "Generate a new key for imported entries" option from the "Web search" tab to the "Citation key generator" tab in preferences. [#12436](https://github.com/JabRef/jabref/pull/12436)
3233
- We improved the offline parsing of BibTeX data from PDF-documents. [#12278](https://github.com/JabRef/jabref/issues/12278)

src/main/java/org/jabref/logic/preferences/JabRefCliPreferences.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ protected JabRefCliPreferences() {
577577
defaults.put(CONFIRM_LINKED_FILE_DELETE, Boolean.TRUE);
578578
defaults.put(KEEP_DOWNLOAD_URL, Boolean.TRUE);
579579
defaults.put(DEFAULT_CITATION_KEY_PATTERN, "[auth][year]");
580-
defaults.put(UNWANTED_CITATION_KEY_CHARACTERS, "-`ʹ:!;?^");
580+
defaults.put(UNWANTED_CITATION_KEY_CHARACTERS, "-`ʹ:!;?^$");
581581
defaults.put(RESOLVE_STRINGS_FOR_FIELDS, "author;booktitle;editor;editora;editorb;editorc;institution;issuetitle;journal;journalsubtitle;journaltitle;mainsubtitle;month;publisher;shortauthor;shorteditor;subtitle;titleaddon");
582582
defaults.put(DO_NOT_RESOLVE_STRINGS, Boolean.FALSE);
583583
defaults.put(NON_WRAPPABLE_FIELDS, "pdf;ps;url;doi;file;isbn;issn");

0 commit comments

Comments
 (0)