Only add spaces after heading if any tags in orgnode raw entry repr

This commit is contained in:
Debanjum Singh Solanky
2024-02-12 10:14:37 +05:30
parent 2ea8a832a0
commit eaa27ca841

View File

@@ -495,6 +495,7 @@ class Orgnode(object):
if self._priority: if self._priority:
n = n + "[#" + self._priority + "] " n = n + "[#" + self._priority + "] "
n = n + self._heading n = n + self._heading
if self._tags:
n = "%-60s " % n # hack - tags will start in column 62 n = "%-60s " % n # hack - tags will start in column 62
closecolon = "" closecolon = ""
for t in self._tags: for t in self._tags: