Closed LMcule closed 10 years ago
Excellent feature, thanks @shikher. Can I request you to make a couple of changes in this PR:
I'll merge as soon as I hear back on #1.
Also, if you really want to make this even better, add a jsfiddle (you can fork the one we have here and demo your feature there.
Sure, I will make both the changes and add a link to the jsfiddle. Where should I mention the link to the jsfiddle?
On Mon, Aug 25, 2014 at 11:03 AM, Arnab Deka notifications@github.com wrote:
Also, if you really want to make this even better, add a jsfiddle (you can fork the one we have here http://jsfiddle.net/YwSVY/ and demo your feature there.
— Reply to this email directly or view it on GitHub https://github.com/arnab/jQuery.PrettyTextDiff/pull/6#issuecomment-53228152 .
Cool. You can add the link in the demo section in the README.
Sounds good.
On Mon, Aug 25, 2014 at 11:12 AM, Arnab Deka notifications@github.com wrote:
Cool. You can add the link in the demo section in the README.
— Reply to this email directly or view it on GitHub https://github.com/arnab/jQuery.PrettyTextDiff/pull/6#issuecomment-53228573 .
I have updated the pull request. Please look at the commit and let me know if any more changes are required.
...arameters to the 'prettyTextDiff' function.
Currently, the user has to set th text of the HTML elements i.e. the originalContainer and the changedContainer. This required the HTML content of the two containers to be part of the page source which caused web pages to be prone to XSS attacks. This method allows the user to set the HTML content to a JS variable and pass it as a parameter to this function. Both functionalities are supported to not break the existing plugin.