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
@@ -257,23 +256,6 @@ The following two code samples will be considered to be equivalent:
257
256
<span>Text</spane>
258
257
```
259
258
260
-
<!-- TOC:display:ignoreDuplicateAttributes -->
261
-
##### ignoreDuplicateAttributes: Boolean
262
-
263
-
Makes **html-differ** ignore tags' duplicate attributes during the comparison.<br>
264
-
From the list of the same tag's attributes, the attribute which goes the first will be taken for comparison, others will be ignored (default: `false`).
265
-
266
-
**Example**: `true`<br>
267
-
For example, the following two code samples will be considered to be equivalent:
268
-
269
-
```html
270
-
<spanid="blah"id="ololo">Text</span>
271
-
```
272
-
273
-
```html
274
-
<spanid="blah">Text</span>
275
-
```
276
-
277
259
<!-- TOC:display:ignoreSelfClosingSlash -->
278
260
##### ignoreSelfClosingSlash: Boolean
279
261
@@ -369,8 +351,7 @@ var options = {
369
351
compareAttributesAsJSON: [],
370
352
ignoreWhitespaces:true,
371
353
ignoreComments:true,
372
-
ignoreEndTags:false,
373
-
ignoreDuplicateAttributes:false
354
+
ignoreEndTags:false
374
355
};
375
356
376
357
var htmlDiffer =newHtmlDiffer(options);
@@ -424,8 +405,7 @@ Study the following file `config.json`:
0 commit comments