You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 3, 2020. It is now read-only.
WordPress pages use a square-bracketed format for describing image captions in the editor markup, which is then converted to a div when WordPress renders the page.
Because exitwp/html2text sees the markup and doesn't understand it, this makes it through to the markdown output as text that wraps around the image markdown and must be manually removed.
I realise there is no standard markdown for an image caption, but could the script do something a bit nicer than just leaving the [caption] blocks where they are? (e.g. remove them entirely, put the caption in as a new paragraph, etc.) Not an ideal solution, but I don't think there is an ideal solution.
The text was updated successfully, but these errors were encountered:
WordPress pages use a square-bracketed format for describing image captions in the editor markup, which is then converted to a
div
when WordPress renders the page.Because exitwp/html2text sees the markup and doesn't understand it, this makes it through to the markdown output as text that wraps around the image markdown and must be manually removed.
I realise there is no standard markdown for an image caption, but could the script do something a bit nicer than just leaving the [caption] blocks where they are? (e.g. remove them entirely, put the caption in as a new paragraph, etc.) Not an ideal solution, but I don't think there is an ideal solution.
The text was updated successfully, but these errors were encountered: