Skip to content

Conversation

@rtfpessoa
Copy link
Owner

Fixes rtfpessoa/diff2html#234

The problem seems to be in highlight.js and in fact is not a problem.
Since you don't have filenames we cannot infer the language and it is being inferred as diff.

Since highlight.js is the last style applied there is not nice way around this.

I allowed removing the highlight and you can do it with:

diff -u <(echo "First\nSecond") <(echo "First\n-->Second\nThird") | diff2html -i stdin --hc false

@rtfpessoa rtfpessoa merged commit 3bc803e into master Sep 7, 2019
@rtfpessoa rtfpessoa deleted the allow-disable-highlight branch September 7, 2019 17:59
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

Successfully merging this pull request may close these issues.

*Bug* Rendering "-->" in text as deleted indicator

2 participants