diff options
Diffstat (limited to 'src/content/dependencies/generateArtistInfoPageCommentaryChunkedList.js')
-rw-r--r-- | src/content/dependencies/generateArtistInfoPageCommentaryChunkedList.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/content/dependencies/generateArtistInfoPageCommentaryChunkedList.js b/src/content/dependencies/generateArtistInfoPageCommentaryChunkedList.js index 6c619f3c..fe2ff70a 100644 --- a/src/content/dependencies/generateArtistInfoPageCommentaryChunkedList.js +++ b/src/content/dependencies/generateArtistInfoPageCommentaryChunkedList.js @@ -90,8 +90,8 @@ export default { .filter(({annotation}) => (filterWikiEditorCommentary - ? annotation?.startsWith(`wiki editor`) - : !annotation?.startsWith(`wiki editor`))) + ? annotation?.match(/^wiki editor/i) + : !annotation?.match(/^wiki editor/i))) .map(entry => processEntry({thing, entry}))); @@ -187,7 +187,7 @@ export default { .map(({annotation}) => relation('transformContent', (filterWikiEditorCommentary - ? annotation?.replace(/^wiki editor(, )?/, '') + ? annotation?.replace(/^wiki editor(, )?/i, '') : annotation)))), }), |