200ok-ch / org-parser

org-parser is a parser for the Org mode markup language for Emacs.
GNU Affero General Public License v3.0
320 stars 16 forks source link

The parser command line tool shall not print an empty trailing line #49

Closed schoettl closed 3 years ago

schoettl commented 3 years ago

See also https://github.com/200ok-ch/org-parser/pull/47#discussion_r639598773

schoettl commented 3 years ago

@munen this fix works for lein run and the JS version, but not for the java -jar. Do you have an idea why? Maybe it's better to strip trailing whitespace (including newline) from the result und use println?