Image Generation: Don't replace dots with commas
| @@ -2208,10 +2208,9 @@ function processReply(str) { | ||
| 2208 | 2208 | |
| 2209 | 2209 | str = str.replaceAll('"', ''); |
| 2210 | 2210 | str = str.replaceAll('“', ''); |
| 2211 | - str = str.replaceAll('.', ','); | |
| 2212 | 2211 | str = str.replaceAll('\n', ', '); |
| 2213 | 2212 | str = str.normalize('NFD'); |
| 2214 | 2213 | str = str.replace(/[^a-zA-Z0-9\.,:_(){}<>[\]\-']+/g, ' '); |
| 2215 | 2214 | str = str.replace(/\s+/g, ' '); // Collapse multiple whitespaces into one |
| 2216 | 2215 | str = str.trim(); |
| 2217 | 2216 | |