You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[html-signature] currently acts only as an inclusion flag. SMTP always appends the configured HTML signature before </body>, so replies can place it after quoted history, where clients may collapse it.
What changed
Render the first line-trim-exact marker in place and scrub all markers from plain text.
Prevent duplicate signatures and safely fall back for malformed or colliding marker contexts.
Share marker-aware rendering across immediate send, scheduled send, and browser preview.
Preserve selected-account signatures and marker-free Listmonk bodies.
Add unit and end-to-end workflow coverage.
This touches the MIME-building and send paths.
Test plan
go test ./... -count=1
go vet ./...
gofmt -l on all touched Go files
git diff --check
Manually verified the equivalent patch in a real reply flow.
Hi, I’ve rebased this onto the latest main and resolved the conflicts. The hardening suite, full unit test suite, and go vet all pass locally. It preserves the HTML signature and Listmonk marker positions. When you have a moment, I’d appreciate a review.
That is why the PR shows as UNSTABLE with "no checks reported" rather than green. main has not moved since out of office signature on 2026-08-31, so the branch is still cleanly rebased and the run should be valid as-is.
Could a maintainer approve that run so the PR gets a real upstream result to review against? Happy to rebase first if you would rather I refresh the branch.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
[html-signature]currently acts only as an inclusion flag. SMTP always appends the configured HTML signature before</body>, so replies can place it after quoted history, where clients may collapse it.What changed
This touches the MIME-building and send paths.
Test plan
go test ./... -count=1go vet ./...gofmt -lon all touched Go filesgit diff --check