Skip to content

Commit

Permalink
feat: remove escape html
Browse files Browse the repository at this point in the history
  • Loading branch information
luotianqi777 committed Jan 9, 2024
1 parent ce52b08 commit eeb2dab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/format/sarif.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package format
import (
"encoding/json"
"fmt"
"html"
"io"
"regexp"
"strings"
Expand Down Expand Up @@ -170,7 +169,7 @@ func formatDesc(v *detail.VulnInfo) string {
}
}

return html.EscapeString(strings.Join(lines, "\n"))
return strings.Join(lines, "\n")
}

func sanitizeString(s string) string {
Expand Down

0 comments on commit eeb2dab

Please sign in to comment.