@@ -404,6 +404,7 @@ Tab _licenseTab(PackagePageData data) {
404404 d.span (
405405 classes: ['license-op-insert' ],
406406 text: text.substring (offset, op.start),
407+ attributes: {'title' : 'inserted content' },
407408 ),
408409 );
409410 offset = op.start;
@@ -424,6 +425,7 @@ Tab _licenseTab(PackagePageData data) {
424425 text: op.content,
425426 ),
426427 ],
428+ attributes: {'title' : 'deleted content' },
427429 ),
428430 );
429431 break ;
@@ -433,6 +435,7 @@ Tab _licenseTab(PackagePageData data) {
433435 d.span (
434436 classes: ['license-op-insert' ],
435437 text: text.substring (op.start, end),
438+ attributes: {'title' : 'inserted content' },
436439 ),
437440 );
438441 offset = end;
@@ -443,6 +446,7 @@ Tab _licenseTab(PackagePageData data) {
443446 d.span (
444447 classes: ['license-op-match' ],
445448 text: text.substring (op.start, end),
449+ attributes: {'title' : 'matched content' },
446450 ),
447451 );
448452 offset = end;
@@ -451,7 +455,11 @@ Tab _licenseTab(PackagePageData data) {
451455 }
452456 if (offset < text.length) {
453457 nodes.add (
454- d.span (classes: ['license-op-insert' ], text: text.substring (offset)),
458+ d.span (
459+ classes: ['license-op-insert' ],
460+ text: text.substring (offset),
461+ attributes: {'title' : 'inserted content' },
462+ ),
455463 );
456464 }
457465 content = d.div (
0 commit comments