On Startup: Patch a JS Module? Possible?

An issue is code in $:/core/modules/widgets/diff-text.js for newline symbols

which means, now, one often gets this, a graphic font that obscures the important colour background. …

Screenshot 2025-11-25 13.44.56

This would be better …

Q: On startup can I “patch” that one character in the JS Module to be more user friendly? To remove the existing character for newline and insert another?

I hope this is clear!
TT

I did create a GH-issue, so it is not forgotten: [BUG] diff-text new-line symbol hides background · Issue #9461 · TiddlyWiki/TiddlyWiki5 · GitHub

Thank you!

I assume at the moment I will have to manually replace “:leftwards_arrow_with_hook:” (U+21A9) with “↲” (U+21B2) in the module?

replace save and reload yes. I believe you could create a seperate modual that redefined invisiblecharacters that loaded after the current module but the advantage of editing the original is it clear as a modified shadow tiddler.