Skip to content

Cannot parse empty headlines with tags #17

@calmofthestorm

Description

@calmofthestorm

It looks like empty headlines' tags get treated as part of the raw, and the tags not picked up.

fn main() {
    let org = orgize::Org::parse("* :a:");
    assert_eq!(vec!("a"), org.headlines().next().unwrap().title(&org).tags);
}

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