Skip to content

Commit eeb2dab

Browse files
committed
feat: remove escape html
1 parent ce52b08 commit eeb2dab

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

cmd/format/sarif.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package format
33
import (
44
"encoding/json"
55
"fmt"
6-
"html"
76
"io"
87
"regexp"
98
"strings"
@@ -170,7 +169,7 @@ func formatDesc(v *detail.VulnInfo) string {
170169
}
171170
}
172171

173-
return html.EscapeString(strings.Join(lines, "\n"))
172+
return strings.Join(lines, "\n")
174173
}
175174

176175
func sanitizeString(s string) string {

0 commit comments

Comments
 (0)