Hi Riton,
The problem is that spaces are not believed to be part of the replacement, but of course they are. I suffer the same problem, actually present in replacement texts of any size.
From what I understood from Kirk, the problem is in the OS provided code to trigger the replacements. To fix it it would require writing their own code. I hope this gets resolved though.