#8 Trim trailing newlines

Closed
opened 1 month ago by tdemin · 0 comments
tdemin commented 1 month ago
Owner

At this moment, the renderer is likely to generate text with two newline symbols at the end, the one from the paragraph itself and the other as an (extraneous) separator.

With cmd/gmnhg, we're able to rectify this with something like {{ printf "%s" .Content -}}, but ideally this should not require any workarounds.

At this moment, the renderer is likely to generate text with two newline symbols at the end, the one from the paragraph itself and the other as an (extraneous) separator. With `cmd/gmnhg`, we're able to rectify this with something like `{{ printf "%s" .Content -}}`, but ideally this should not require any workarounds.
tdemin added this to the v0.1.1 milestone 1 month ago
tdemin added the
bug
label 1 month ago
tdemin added the
renderer
label 1 month ago
tdemin self-assigned this 1 month ago
tdemin referenced this issue from a commit 1 month ago
tdemin closed this issue 1 month ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.