matcornic / matcornic/hermes

Add imprint

Open
#72 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
3k
Forks
249
PR merge metrics
No merged PRs in 30d

Description

Hi,
first of all, thanks for this great library.

Currently, the body can be customized via markdown, however this is not possible for copyright.

As required by law, you need the senders contact details (imprint) in the mail, it would be great when the copyright field can be used for that, or even create a new field.

Mostly they have the following structure:
```
Company Name
John Doe Street 11
Cityname
```

This will be transformed to `Company Name John Doe Street 11 Cityname` which is not that great. Thus, markdown or keeping the line breaks at least would be great. This may not work due to html sanitizing.

Contributor guide

Open the contributing guide

Research direction

Inspect the copyright rendering path and the HTML sanitizing or formatting behavior described in the issue. Check how markdown and line breaks are handled in generated mail, then verify that an imprint with separate address lines remains readable without producing unsafe HTML.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
content
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.