fix block spotify: & -> et
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Simon Vieille 2022-09-05 10:44:42 +02:00
parent fcd69a98a0
commit bc2a4b3453
Signed by: deblan
GPG Key ID: 579388D585F70417
1 changed files with 3 additions and 0 deletions

View File

@ -1,7 +1,9 @@
package rendering
import (
// "bytes"
"encoding/json"
// "strconv"
"strings"
)
@ -31,6 +33,7 @@ func Block(name string, options BlockOptions) string {
block = strings.ReplaceAll(block, `\u003c`, "<")
block = strings.ReplaceAll(block, `\u003e`, ">")
block = strings.ReplaceAll(block, `\u0026`, "et")
return block
}