[BUG] YAML duplication due re-ordering

This issue has been tracked since 2023-01-28.

Describe the bug
Changing the YAML list order causes sr-* entry duplication.

To Reproduce

Add a new YAML entry at the bottom of the metadata list.

Expected behavior
The plugin should replace all sr-* entries by search & replace, not expecting the entries to be at the bottom.

Additional context
I am using a linter to sort YAML key order, which causes this issue.
Regardless of linting or not, one has to keep in mind to be careful about the metadata entries they're adding. Otherwise, it would cause duplicate entries for this plugin, which could be avoided with a search & replace or a completely different approach, as #162.

More Details About Repo
Owner Name st3v3nmw
Repo Name obsidian-spaced-repetition
Full Name st3v3nmw/obsidian-spaced-repetition
Language TypeScript
Created Date 2021-01-30
Updated Date 2023-03-19
Star Count 817
Watcher Count 9
Fork Count 94
Issue Count 174


Issue Title Created Date Updated Date