EdJoPaTo / website-stalker

Track changes on websites via git
GNU Lesser General Public License v2.1
54 stars 6 forks source link

fix(notification): dont group single host #202

Closed EdJoPaTo closed 4 months ago

EdJoPaTo commented 4 months ago

The front of all the URLs has the host anyway, and it's cleaner to read when multiple on a single host change. Especially when some repos only check a single host.

To simplify the code we could just always create an empty line between different hosts, but that would end up long for many changes on different hosts.

@Teufelchen1 interested in a review?

EdJoPaTo commented 4 months ago

When this plaintext is tried to be rendered as Markdown it will end up being somewhat useless as Markdown will join them together again then. The hostname in between prevented that.

Telegram does not do this. Matrix or Slack might?