So two bugs, the first one is mis replacement when the text replaced is in a frame.
Second is the crash.
So two bugs, the first one is mis replacement when the text replaced is in a frame.
Second is the crash.