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

node.js - How to mock a third-party api calls in the backend -

node.js - Why do I get "SOCKS connection failed. Connection not allowed by ruleset" for some .onion sites? -

matlab - 0-by-1 sym - What do I need to change in order to get proper symbolic results? -