appleboy / appleboy/gofight

Switch off escaping HTML when serializing JSON

Open
#75 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
446
Forks
40
Avg merge
11h 42m
Merged PRs (30d)
1

Description

Hi
It would be nice if we could disable html escaping

```
encoder := json.NewEncoder(w)
encoder.SetEscapeHTML(false)
encoder.Encode(r.Data)
```
Cheers,
Jan

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named in the issue. Start by locating where API response data is serialized as JSON and check the existing encoder setup. Done means callers can disable HTML escaping while encoding responses, with coverage for the requested behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.