fix for #2422. Change the dataProcessor.toDataFormat function which is sensible to the editor enterMode, causing this issue.
Merge pull request #2424 from dresfdez/hotfix/2422

fix for #2422. Issue with tags inside image src