Comments (2)
Looks like a bug in the html formatter. That piece of code is fairly complex, due to the inline highlighting ability, and it looks like you've found an edge case it doesn't handle well.
I'm not sure when I'll be able to look into it, but I'll plan to investigate it at some point. Also feel free to submit a pull request with a failing test case (or a fix to the issue).
Thanks!
from diffy.
This should be fixed now in version 3.0.4 of the gem. Thanks!
from diffy.
Related Issues (20)
- Does the Diffy gem have the capability to ignore certain nodes/elements when comparing two XML documents?
- Showing "..." instead of simply skipping lines with context
- Allow me to ignore CRLF differences as an option HOT 3
- RE: https://github.com/samg/diffy/pull/106 HOT 1
- :source => 'file' and missing files
- HTML output ignoring new line diff? HOT 1
- No whitespace on the diff
- Diffs with literal \n cause extra line breaks in diff HOT 2
- windows11 diff not found HOT 2
- Security Policy HOT 3
- NameError: "uninitialized constant Diffy::Diff::Open3" on Windows
- Reproducible Builds fails on Debian due to locale LC_ALL = es_ES.UTF-8 LANGUAGE = es_ES.UTF-8:fr HOT 1
- [Feature request] Option to perform diff without tempfiles HOT 1
- diffy is incompatible with alpine linux/busybox linux diff HOT 7
- Ignore 'No newline at end of file' warning message when comparing text strings HOT 4
- Store as diff, display as HTML HOT 1
- :include-diff-info => false may cause some non-diff-info lines to be omitted HOT 1
- Diffy doesn't work on docker ruby Alpine Linux image HOT 2
- to_s(:html) mishandles \\n (backslash + en)
- Please v3.2.1 tagging
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 diffy.