| ▲ | Aachen 11 hours ago | |
This one is literally matching "innerHTML = X" and setting "setHTML(X)" instead. Not some complex data format transformation But I can see what you mean, even if then it would still be better for it to print the code that does what you want (uses a few Wh) than doing the actual transformation itself (prone to mistakes, injection attacks, and uses however many tokens your input data is) | ||
| ▲ | charcircuit 9 hours ago | parent [-] | |
That can break the site if you do the find and replace blindly. The goal here is to do the refactor without breaking the site. | ||