If I add a button which adds html to the editor, it's not keeping it's code format when either viewing "Source" or posting the data.
Example is: ⅓ which is ascii for ⅓. I would expect it to show as ⅓ in live and clicking "Source" would show ⅓, but source also shows ⅓.
This obviously causes a problem when being added to a database table.
Funnily enough the same happens with the ► character which is in the Special Characters within the editor.
Is this a bug?
I can see the same behavior
I can see the same behavior on my wiki, but it makes no problem in my database. Which is your dataset ?
Personaly, I prefer these special chars to keep the same "form" whenever it is possible, it makes the html more readable !
Solved, for me at least...
This is how I solved the problem:
It doesn't preserve the characters in the code but sends raw html back to the database which is what I needed,