Skip to content

Commit cfc4f0c

Browse files
author
czyt
committed
fix html escape
1 parent cf30d7b commit cfc4f0c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

internal/communicate/communicate.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import (
99
"encoding/json"
1010
"encoding/xml"
1111
"fmt"
12-
"html"
1312
"io"
1413
"log"
1514
"net"
@@ -427,7 +426,6 @@ func calculateMaxMessageSize(pitch, voice string, rate string, volume string) in
427426
func escape(data string) string {
428427
// Must do ampersand first
429428
entities := make(map[string]string)
430-
data = html.EscapeString(data)
431429
data = escapeReplacer.Replace(data)
432430
if entities != nil {
433431
data = replaceWithDict(data, entities)

0 commit comments

Comments
 (0)