From dcf7b4a0077ba76fea73de3ddd80b26efae86705 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Koll=C3=A1r?= <10644651+rkollar@users.noreply.github.com> Date: Fri, 20 Sep 2019 14:06:21 +0200 Subject: [PATCH] fix FORCED attribute improper quotation --- writer.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/writer.go b/writer.go index ae736067..e70f1318 100644 --- a/writer.go +++ b/writer.go @@ -136,9 +136,8 @@ func (p *MasterPlaylist) Encode() *bytes.Buffer { p.buf.WriteRune('"') } if alt.Forced != "" { - p.buf.WriteString(",FORCED=\"") + p.buf.WriteString(",FORCED=") p.buf.WriteString(alt.Forced) - p.buf.WriteRune('"') } if alt.Characteristics != "" { p.buf.WriteString(",CHARACTERISTICS=\"")