We use CKEditor in our application to allow users to edit specific email templates, but for some reason many of these patterns end p- and span-tags with irritating text styles:
<p style="font-size: 13.333333969116211px;">
Or with row height:
<span style="font-size: 13.333333969116211px; line-height: 1.231em;">
Our clients complain that their emails come out with strange text styles and give a very clear idea that they did not add these styles manually (which makes sense).
The strange thing is: when we save the template ourselves using the same editor, these strange styles disappear from the original HTML (in the database). Then after a while all these styles return there - presumably when clients (re) use our editor.
We decided Google that exact line, font-size: 13.333333969116211pxand - to our surprise - found 80,000 completely unrelated results . The font size value is obviously created by some kind of calculation (100 / 7.5), but I don’t know where to look.
Does anyone know where these lines come from and how we get rid of them?
source
share