Skip to content

Commit

Permalink
remove quoting in extractor output
Browse files Browse the repository at this point in the history
  • Loading branch information
tarunKoyalwar committed Mar 7, 2024
1 parent 836d8e1 commit 5598fa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/output/format_screen.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func (w *StandardWriter) formatScreen(output *ResultEvent) []byte {
for i, item := range output.ExtractedResults {
// trim trailing space
item = strings.TrimSpace(item)
item = strconv.QuoteToASCII(item)
item = strings.ReplaceAll(item, "\n", "\\n") // only replace newlines
builder.WriteString(w.aurora.BrightCyan(item).String())

if i != len(output.ExtractedResults)-1 {
Expand Down

0 comments on commit 5598fa0

Please sign in to comment.