JessicaTegner/pypandoc

htmlToWord : base64 image can't load

richerdyoung opened this issue · 0 comments

hi , I hava a problem , when I use this package to deal html to word , base64 image can't load ,

html code

<img src="data:image/png;base64,iVBORw0KGqKjG/>

python code

pypandoc.convert_file(html_path_xpath, to='docx',format="html", outputfile=word_path)