When I post answer on my website with several paragraphs they are separated with <div> tags instead of <p>, as expected. However this appears only after I insert headings:
But if I click edit on this answer and save it without any changes, all div's will be replaced with <p> tags:
This happens only after headings.
I'm using CKEditor WYSIWYG plugin and a bit confused with such behavior.
What should I do to fix it?