github / github/gh-aw

Don't filter "<...>" in code paragraphs or inline code in markdown posted to issues, issue comments and PR descriptions

Open
#18,829 6 comments 0 reactions 1 assignee Claimed by @pelikhan View on GitHub
community safe-outputs scout
Dominant language
Go
Stars
5.1k
Forks
541
Avg merge
5h 46m
Merged PRs (30d)
760

Description

Generated markdown in safe outputs gets heavily filtered/redacted. THere are good reasons for this

However one major problem is the redaction of `` --> `(Abc)` in code blocks (inline and paragraph) in issue, issue comments, PR descriptions etc. This is too strong - it's OK to remove these in regular markdown but not formatted code.

If necessary we should try to use a good quality markdown parser to help guide this process - parse the markdown, then filter the actual text sections but be less aggressive on the code filtering.

Some code filtering should still stay in place e.g. URLs. It's just the `` --> `(Abc)` that's too strong at the moment. But we should do an assessment of the filtering rules implemented, compare to what's documented, and decide

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.