Open balajikandasamy opened 8 years ago
Could you post the original WP XML file?
I was trying to reach you by mail can you share your ID please.
I got your e-mail. Just responded.
I don't think this is related to the post being made through e-mail. Instead, the issue is that the post starts with four spaces, which is the Markdown equivalent of starting a <pre>
tag. Thus, all the content inside will be escaped and printed as code. If you just remove the leading spaces, the post should be rendered correctly.
The spaces were not purposefully left. Can we just add a check condition or trim the spaces in the start. If that's easy to do. Please close the issue. Thanks
Sent from Outlook Mobile
On Sun, Apr 3, 2016 at 10:38 AM -0700, "Jon Gjengset" notifications@github.com wrote:
I got your e-mail. Just responded.
I don't think this is related to the post being made through e-mail. Instead, the issue is that the post starts with four spaces, which is the Markdown equivalent of starting a <pre>
tag. Thus, all the content inside will be escaped and printed as code. If you just remove the leading spaces, the post should be rendered correctly.
You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/jonhoo/wp2ghost/issues/7#issuecomment-205019338
WordPress blog post by email doesn't get converted to a valid JSON
ghost.zip