Comments (4)
Published v3.4.41 with the fix
from diff2html.
Weird, are you sure the plugin is using the latest diff2html
version?
Some versions ago I did some improvements in this area.
Also now you can even provide overrides for languages like this
Line 387 in 41a9016
I think you need to ask for support from the plugin dev not much I can do here as it does not seem like a problem.
If you really think it is a diff2html problem, feel free to re-open but provide some extra details.
from diff2html.
Thanks for the update, I'll see if I can debug the issue more, maybe use the suggestion you gave above for highlightLanguages
. I'll re-open if there seems like something is generic enough to perhaps be in this code instead.
from diff2html.
Hey, @rtfpessoa I think this issue should be re-opened. I just submitted a PR with a simple change to avoid causing problems in libraries that use the slim version of diff2html. I am new to the GitHub PR process so hopefully I've done everything correctly.
BTW I originally tried going down the route you suggested using highlightLanguages
. I can't remember the details off the top of my head, but there was an issue that the subclass that has the highlightLanguages
member wasn't exported so it was not externally usable. I'm not an expert so maybe I messed up, but FYI there may be an issue there as well.
from diff2html.
Related Issues (20)
- Code breaking when there is no change in a line HOT 3
- Is it possible to generate single html report for multiple git repos? HOT 1
- Unknown argument: diff.txt HOT 1
- 12341
- If the diffString contains special symbols, the page will report an error HOT 1
- Diff2html fails with Error: Cannot find module 'tslib'
- File list links are not working in Angular integration for diff2html-ui HOT 2
- CSS not working inside shadow DOM
- Feature request: option to only show first n files HOT 3
- when execute git diff --word-diff-regex=. ,diff2html is not work HOT 1
- how to make `diff2html` display line breaks for line-by-line view ?? HOT 1
- Backslashes removed in title e.g. C:\dev\alex\test.json -> C:devalex.json HOT 1
- Problems with multiline code blocks highlighted incorrectly HOT 1
- How to hightlight space in new Line? HOT 3
- How to support comments? HOT 1
- How to support code review functionality ? HOT 1
- Documentation Improvement?
- Getting the data structure used for HTML rendering (Nodejs use)
- Way to split up large diff
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diff2html.