fix block spotify: & -> et

main v2.3.1
Simon Vieille 3 weeks ago
parent fcd69a98a0
commit bc2a4b3453
Signed by: deblan
GPG Key ID: 579388D585F70417
  1. 3
      rendering/block.go

@ -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
}

Loading…
Cancel
Save