Private
Public Access
1
0

Trim content before returning InputFromEditor

This commit is contained in:
2023-11-05 07:22:45 +00:00
parent bb895460ad
commit 1ac8f7d046

View File

@@ -46,5 +46,5 @@ func InputFromEditor(placeholder string, pattern string) (string, error) {
} }
} }
return content, nil return strings.Trim(content, "\n \t"), nil
} }