Is it possible to deactivate automatic changes in the html after saving a post?
Yes in ckeditor config , I think its called Automatic content control or something, search the forums, you can also add tags for it to ignore I think
Ah yeah also acf it might be called
I found another simple solution: I turned off the WYSIWYG editor in settings.