- Issue created by @fishfree
- πΊπΈUnited States luke.leber Pennsylvania
Hello, Is there an option to do this in the upstream caxy/php-htmldiff project? I tried to find one, but had limited success. If there is an upstream option, it is well within module scope to expose it to content maintainers.
- π¨π³China fishfree
@Luke Luke, could you please point out in caxy/php-htmldiff which files to modify / add, which interfaces and functions to implement? Many thanks!
- π¨π³China fishfree
However, I notice this module uses https://cdnjs.cloudflare.com/ajax/libs/jsdiff/5.1.0/diff.min.js mentioned in the https://git.drupalcode.org/project/diff_plus/-/blob/1.0.x/diff_plus.libr.... diff.min.js does support diff by character as shown here: https://github.com/kpdecker/jsdiff/search?q=character
- πΊπΈUnited States luke.leber Pennsylvania
Hello, I will take a spin at adding an option that allows the use of that option in the raw HTML diff.
I should have a few minutes this morning around 11:30 est to devote.
- πΊπΈUnited States luke.leber Pennsylvania
I dug into that option, but it does not appear that patches can be generated using it. I am admittently not the best javascript engineer, so if you've had more success, please let me know or feel free to open a merge request.
Thanks for doing the initial research.