Skip to content

Running org-ml-update on item changes its nesting level #59

Description

@eagerchatterjee

Running org-ml-update on an item changes its "level" by collapsing two plain lists into one.

Minimal Example

Original Contents

* Headline
- [ ] foo
  - [ ] bar

Code Run

(->> (org-ml-parse-this-headline)
  (org-ml-match '(:last :any * item))
  car
  (org-ml-update #'identity))

Actual Result

* Headline
- [ ] foo
- [ ] bar

Expected Result

* Headline
- [ ] foo
  - [ ] bar

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