Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Suppress pipe characters" option for ppcomp #35

Open
ghost opened this issue Dec 30, 2022 · 0 comments
Open

"Suppress pipe characters" option for ppcomp #35

ghost opened this issue Dec 30, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Dec 30, 2022

It's common DP practice to represent table borders with | in the text version of a book. In HTML, borders can be created with CSS, so the pipe characters are usually removed. When comparing the two versions with ppcomp, this leads to sometimes hundreds of lines of diffs to look through, and finding any genuine diffs that need fixing is needle-in-haystack level of difficulty.

The example that broke me today: https://www.pgdp.net/d/ppwb/r63aebbc4c881a/result.html

There are at least two genuine diffs in that report. Good luck. ;)

So: I'd really like to be able to run ppcomp with an option to ignore the pipe character, to make the output on table-heavy books like this one much shorter and much easier to review.

(Bonus points for also excluding sequences that look like --+----+-- or ==+====+==, but those occur much less frequently and aren't so much trouble to scroll past.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants