go-toast

Send toast notifications in Windows
Log | Files | Refs | README | LICENSE

commit 56524118f5e005e869d00441c73a75f8bd6cb352
parent 29071af9a10475a3e0a95b6793ac645504f11e72
Author: Jack Mordaunt <jackmordaunt.dev@gmail.com>
Date:   Sun,  6 Oct 2024 18:52:43 +1000

tmpl: add xml declaration

This is required to avoid parse errors with emoji content and other
non-Latin scripts.

Diffstat:
Mtmpl/xml.go.tmpl | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tmpl/xml.go.tmpl b/tmpl/xml.go.tmpl @@ -1,3 +1,4 @@ +<?xml version="1.0" encoding="UTF-8"?> <toast activationType="{{.ActivationType}}" launch="{{.ActivationArguments}}" duration="{{.Duration}}"> <visual> <binding template="ToastGeneric"> @@ -31,4 +32,4 @@ {{end}} </actions> {{end}} -</toast> -\ No newline at end of file +</toast>