SchumacherFM / wordpress-to-hugo-exporter

Hugo is static site generator written in golang. Wordpress is a tool for remote access to your server ;-) ❗️Contributions welcome!
https://gohugo.io
GNU General Public License v3.0
692 stars 95 forks source link

Surpressed displaying waning and updated markdownify #83

Closed azwjp closed 4 years ago

azwjp commented 4 years ago

On PHP 7.3.18, following warning will be printed, and it'll be also written in a zip file.

<b>Warning</b>: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in <b>{the directory of wordpress}/wp-content/plugins/wordpress-to-hugo-exporter-1.9.0/includes/markdownify/Converter.php</b> on line <b>351</b><br />

Then a server will send it with content-type: text/html header, and the binary data will be shown as text on a browser.

This problem has been solved on newest markdownify. So I updated markdownify, and stopped displaying all error and warnings.

SchumacherFM commented 4 years ago

Thank you. So far you remove a lot of code but it looks like it is unused.