php-htmldiff icon indicating copy to clipboard operation
php-htmldiff copied to clipboard

HTML Tags

Open uno2xx opened this issue 8 years ago • 2 comments

Is it possible to retain the html tag, body tag, css and js files? like get the diff only in the body and the rest will be retain?

Thanks.

uno2xx avatar Jan 23 '17 06:01 uno2xx

Hey @uno2xx - this is not currently possible, but I added the Feature label to this issue as it's certainly something worth adding (and we'd happily accept a pull request for it if someone does it before we do 😉 ).

I have some time set out for some other work on this project this week, so I could fit this in if no one else grabs it.

jschroed91 avatar Jan 23 '17 07:01 jschroed91

Thanks @jschroed91 looking forward on it.

What I did right now is find the body using htmldom then insert it back with the new build.

uno2xx avatar Jan 23 '17 08:01 uno2xx