We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 559d196 commit 09b3ebfCopy full SHA for 09b3ebf
decorators.go
@@ -37,9 +37,9 @@ type ImageDecoratorV2 struct {
37
38
func (decorator *ImageDecoratorV2) RenderBeginning(data map[string]string) string {
39
if alt, ok := data["alt"]; ok {
40
- return fmt.Sprintf("<img src=\"%s\" alt=\"%s\">", data["data"], alt)
+ return fmt.Sprintf("<img src=%s alt=\"%s\">", data["data"], alt)
41
}
42
- return fmt.Sprintf("<img src=\"%s\">", data["data"])
+ return fmt.Sprintf("<img src=%s>", data["data"])
43
44
45
func (decorator *ImageDecoratorV2) RenderEnding(data map[string]string) string {
0 commit comments