wp2ghost icon indicating copy to clipboard operation
wp2ghost copied to clipboard

Email post are not converted

Open balajikandasamy opened this issue 8 years ago • 5 comments

WordPress blog post by email doesn't get converted to a valid JSON email blog post ghost.zip

balajikandasamy avatar Apr 01 '16 21:04 balajikandasamy

Could you post the original WP XML file?

jonhoo avatar Apr 02 '16 22:04 jonhoo

I was trying to reach you by mail can you share your ID please.

balajikandasamy avatar Apr 02 '16 23:04 balajikandasamy

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.

jonhoo avatar Apr 03 '16 17:04 jonhoo

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" [email protected] 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

balajikandasamy avatar Apr 03 '16 20:04 balajikandasamy