I was trying to change from chars to html numbers (0 => 0) with Substitute (String) (anyway: is there a faster\better way for this task?).
I found that when the node finds one of these chars
0 | 1 | 2 | 3 | 4
it outputs the wrong result.
It substitutes the char, then it substitutes again the first number of the html entity, and then keeps going on with this wrong logic until it stops (anyway it seems to loop on a single char max 3 times); as a plus it nests the results.
0, instead of 0, becomes
through something like these steps:
0 (keeps searching: it finds 4 which is 4) =>
0 (keeps searching: it finds 5 which is 5) =>
&#48; (keeps searching: it finds 8 which is 8) =>
&#48; (at this point the iteration stops)
I hope that the nesting explained this way is clear enough.
See attached patch with few inputs to make quick tests.
Chars2HTMLNum.zip (4.3 kB)