I see that
(org-get-heading t t)
executed on a heading like:
* COMMENT Heading Title
returns:
COMMENT Heading Title
Should there be a third switch, something like NO-COMMENT? Or should I maybe be using the org-element API instead? I'm just trying to generate custom id's from headline text + a shortened hash (acquired via org-new-id).