trailofbits / trailofbits/graphtage

Option to remove the plusses from the output?

Open
#35 2 comments 0 reactions 1 assignee View on GitHub

@ESultanik is already working on this.

Since Nov 30, 2020.

enhancement
Dominant language
Python
Stars
2.5k
Forks
61
Avg merge
6h 45m
Merged PRs (30d)
45

Description

It seems the diff output uses both the green highlighting, and the "plus" formatting to indicate an addition. It would be lovely if we could keep the highlighting and remove the plusses on each character, or vice-versa. In my case, my downstream processing of the data (converting to HTML and LaTeX) seems to have difficulty with these characters. Similarly for the deletions.

I would be happy if we could --no-unicode-formatting or similar, indicating that we keep the ANSI colour codes.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.