fix encoding error in markdowntext for postpage