# Read the content of the HTML file
with open(html_file_path, 'r', encoding='utf-8') as file:
html_content = file.read()
# Article details with the extracted HTML content
articles = [
{
"title": "API测试", # Chinese title
"content": html_content,
"thumb_media_id": "PdEzMawG529MXCtwub53gRYEoq6kuxaaQwa0HuVwrURiqiZTBjkpvrzlFEj4cfs2",
}
]
#----------------以下是html_content---------------------------#
<p>line 1</p>
<p>line 2</p>
<p>line 3</p>
<p>line 4</p>
使用了https://developers.weixin.qq.com/doc/offiaccount/Draft_Box/Add_draft.html上传html草稿后,行和行之间插入了空行。
看到之前的用户也反馈过类似问题。
https://developers.weixin.qq.com/community/develop/doc/00046c6febcd282048a0492116b800
请问这个问题可以怎么解决? 谢谢。