php - Why WordPress HTML editor remove <p> tag and <br>? Can we stop this? -


i need make static pages in wordpress make through html editor need change text regularly. page layout not looking html editor removing <p> , <br> tags.

for example if entering below html in editor through 'text' mode.

<p>some text</p> <a>google.com</a> 

click on 'visual' tab , again switch 'text' mode, html change below.

some text <a>google.com</a> 

i have installed "tinymce-advanced" , configured setting stop removing <p> tag , <br/> tag. stop removing <p> tag editor start adding <p> tags randomly example above html code looking below.

<p>some text</p> <p><a>google.com</a></p> 

kindly share suggestions


Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -