Skip to content

Commit 9dd0c4e

Browse files
authored
MBS-13908: isolate artist credentials in edit diff (#3455)
1 parent 61dca18 commit 9dd0c4e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

root/static/scripts/edit/utility/diffArtistCredits.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import * as React from 'react';
1111

1212
import EntityLink from '../../common/components/EntityLink.js';
13+
import isolateText from '../../common/utility/isolateText.js';
1314
import DiffSide from '../components/edit/DiffSide.js';
1415

1516
import editDiff, {
@@ -161,7 +162,7 @@ export default function diffArtistCredits(
161162
}
162163

163164
return {
164-
new: newNames,
165-
old: oldNames,
165+
new: isolateText(newNames),
166+
old: isolateText(oldNames),
166167
};
167168
}

0 commit comments

Comments
 (0)