I posted this question on wodpress.stackexchange.com without getting any response.
I realized it could be a programming issue in PHP.
I am trying to publish a blog post into wordpress based website from Microsoft Live Writer. Here is the sample text that I added in Microsoft which I published as well.
" Temporary Blog Post
I am adding a temporary blog post here
Let’s see how it goes
Thanks"
However, when I published the post, this is how it looked
/pI am adding a temporary blog post here
/ppLet’s see how it goes
/ppThanks
Notice the \pp
tags which is getting added in text.
Any idea the reason behind the formatting error? I thought when you publish from Microsoft word or Microsoft Live Writer, it should look the same as in the Microsoft Word/Live Writer.
Update : I am having the same error when I am posting from other publishing software like Windows Live Writer etc.
By default, WordPress automatically inserts paragraph tags all over the place when displaying ‘the_content’ – this often gets in the way when you’re trying to space out your text, and also creates validation issues (inserting implicit p tag). If you want to strip the automatically inserted paragraph tags from your content, simply insert this line in your template file above ‘the_content’ tag:
<?php remove_filter (‘the_content’, ‘wpautop’); ?>
OR
Use the cleanup_shortcode_fix() function that should help with your issue.
Check out below links for more information,
may this help you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With