You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you compare those two versions then the result is:
script starts
cssConstPopupClose = "nice";
var css = css || {};
css.archive = {};
css.archive.serverUrl = "https://google.com.au";
css.archive.disabled = false;
css.archive.tenant = "css"sanagate-lhb";
css.archive.mock = false;
ends script
This results in a javascript error and the comparison cannot be seen.
The text was updated successfully, but these errors were encountered:
And then change the ConvertHtmlToListOfWords to to pass in the current word:
case DiffMode.Tag:
if (IsEndOfTag(character, currentWord))
{
This will at least collect the entire script tag as a word which can be diff'd. Problem is, if you are rendering the diff'd HTML, and you have the <del> and <ins> tags wrapped around your tags, the script tag is still intact, so will execute twice on the page.e.g:
script starts
cssConstPopupClose = "nice";
var css = css || {};
css.archive = {};
css.archive.serverUrl = "https://google.com.au";
css.archive.disabled = false;
css.archive.tenant = "css-lhb";
css.archive.mock = false;
ends script
2)
script starts
cssConstPopupClose = "nice";
var css = css || {};
css.archive = {};
css.archive.serverUrl = "https://google.com.au";
css.archive.disabled = false;
css.archive.tenant = "sanagate-lhb";
css.archive.mock = false;
ends script
If you compare those two versions then the result is:
script starts
cssConstPopupClose = "nice";
var css = css || {};
css.archive = {};
css.archive.serverUrl = "https://google.com.au";
css.archive.disabled = false;
css.archive.tenant =
"css"sanagate-lhb";css.archive.mock = false;
ends script
This results in a javascript error and the comparison cannot be seen.
The text was updated successfully, but these errors were encountered: