Skip to content

Implement escaping for keyword separators #12810

@koppor

Description

@koppor

Context: #12532 (comment)

JabRef does not support \ to be used as escaping for the keyword separator

Task:

  1. Add test cases for \, in org.jabref.model.entry.KeywordListTest
  2. Adapt org.jabref.model.entry.KeywordList#parse(java.lang.String, java.lang.Character, java.lang.Character) to implement parsing the escaping
  3. Adapt org.jabref.model.entry.KeywordList#serialize to escape properly

Please also keep in mind that the GUI renders differently than when serializing. This should be done if steps 2 and 3 were correctly done. -- You can double check with org.jabref.gui.fieldeditors.KeywordsEditorViewModel#serializeKeywords - and simply try out at the UI.


There was code proposed multiple times - but without any timely follow-up. Please ready through and implement a good solution

When working on this address #12888 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    good second issueIssues that involve a tour of two or three interweaved components in JabRef

    Type

    Projects

    Status

    Free to take

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions