Closed dougmartin closed 9 years ago
@dougmartin can you add a before and after string as a comment to this code. Something like: "This string was breaking phantom: [], the code here changes it to this string [] which works in phantom"
A test that verifies the code does the right conversion would be even better, but only if it is easy to add.
I changed the numeric regex placeholders to variable names and added tests which also serve as example transformations. The tests do not run by default.
Thank you, it is more clear now. @knowuh what do you think?
Yup, looks better. Thanks.
@scytacki @knowuh - this works locally on my phantom test environment using the current html being sent to the server.