Skip to content

fix: eliminate double space when priority is not set#608

Open
AmSach wants to merge 1 commit into
pimutils:mainfrom
AmSach:fix/double-space-when-no-priority
Open

fix: eliminate double space when priority is not set#608
AmSach wants to merge 1 commit into
pimutils:mainfrom
AmSach:fix/double-space-when-no-priority

Conversation

@AmSach
Copy link
Copy Markdown

@AmSach AmSach commented May 3, 2026

Fixed a bug I found while browsing. The compact_multiple formatter was adding a space after the priority column even when no priority was set (empty string), causing double spacing between the todo ID and the due date. The fix uses conditional logic to only add the priority and its trailing space when the priority string is non-empty.

Before:
[{completed}] {todo.id} { } {due} ... (double space when no priority)

After:
[{completed}] {todo.id} {due} ... (single space)

Fixes the FIXME comment at formatters.py line 185. — Sent via @AmSach bot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant