Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removeExtension() not working if no other text in body #45

Open
benjamonnguyen opened this issue Aug 22, 2023 · 0 comments · May be fixed by #46
Open

removeExtension() not working if no other text in body #45

benjamonnguyen opened this issue Aug 22, 2023 · 0 comments · May be fixed by #46

Comments

@benjamonnguyen
Copy link

benjamonnguyen commented Aug 22, 2023

version: next

const item = Item("due:0") // "due:0"
item.removeExtension("due", "0") // "due:"

May need to reconsider how extensions work in general. It is the only part of this library that is difficult to work with. Particularly finding a lot of issues with how it tracks spans.

@benjamonnguyen benjamonnguyen linked a pull request Aug 22, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant