Skip to content

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

@benjamonnguyen

Description

@benjamonnguyen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions