jsTodoTxt
jsTodoTxt copied to clipboard
removeExtension() not working if no other text in body
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.