The doesn't really resolve the problem. Here is the full scenario:
- A user uploads an html file that contains curly quotes into our application.
- A user makes a new revision of that file and then opens it in the RadEditor.
- RadEditor replaces the curly quotes with ” or whatever.
- They click the compare button and the files look different because the original file that they are comparing to (the one they uploaded and never opened in the editor) and the file they are working on (in the editor) look identical but have differnet html for the curly quotes.
I understand that when invoking the diff engine I could run the replace to swap in the proper ” or whatever but there are a ton of symbols that could potentially be swapped into their web-safe counterparts by the editor and it seems to me like the diff engine should handle that.
For a symbol reference see http://www.w3schools.com/tags/ref_symbols.asp
. I'm not sure which of these the editor swaps out, but there are a lot of them.