aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.go b/main.go
index 0c257cb..8946aa5 100644
--- a/main.go
+++ b/main.go
@@ -305,7 +305,8 @@ func proxy(w http.ResponseWriter, req *http.Request) {
for {
select {
case title := <-metaChan:
- queuedMetaUpdate = []byte(fmt.Sprintf("StreamTitle='%s'", title))
+ queuedMetaUpdate = []byte(fmt.Sprintf("StreamTitle='%s'",
+ strings.Replace(title, "'", "’", -1)))
case chunk, ok := <-chunkChan:
if !ok {
return