commit c5af2e5a6cd5613626bd6e2717321ee420e73b80
parent 0610dc382e697508d95f5fbc3c92fc68f31359a4
Author: n0tr1v <n0tr1v@protonmail.com>
Date: Thu, 19 Jan 2023 00:13:36 -0800
little fix
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkg/web/handlers/api/v1/topBarHandler.go b/pkg/web/handlers/api/v1/topBarHandler.go
@@ -790,7 +790,7 @@ func makeHtmlLink(label, link string) string {
func splitQuote(in string) (string, string) {
const quotePrefix = `<p>“[`
- const quoteSuffix = `” `
+ const quoteSuffix = `”`
idx := strings.Index(in, quoteSuffix)
if idx == -1 || !strings.HasPrefix(in, quotePrefix) {
return "", in