There is no solution for that, since the result will depend on the editor in use in each of the different places. These editors are generally not that good and the output varies wildly, so you just need to accept the variation.