v1.8.1
Added
--remote-input-no-require-head-success— remote document fetching (all2md https://…) no longer has to insist on a successful HEAD request first; disable it for servers that reject or mishandle HEAD. Also settable viaALL2MD_REMOTE_INPUT_REQUIRE_HEAD_SUCCESS.
Fixed
- Legacy
<center>no longer swallows page content. Pages that wrap their main content in<center>(notably Hacker News item pages) converted to empty output; it is now treated as a block container. - Options docs now list only flags that actually exist. The auto-generated options reference invented
--network-*flags with no per-format prefix; the generator now mirrors the CLI builder's real naming rules and every emitted flag is verified against the live parser.
Security
- Redirect limits are now actually enforced. The
max_redirectscheck ran in an httpx response hook that fires before redirect history is assigned, so it never triggered. Enforcement now uses httpx's nativemax_redirects, surfaced asNetworkSecurityError. - Four
NetworkFetchOptionsfields were accepted but silently ignored during attachment fetching:max_redirects,allowed_content_types,max_requests_per_second,max_concurrent_requests. All are now wired through a shared fetch helper used by the HTML parser and the DOCX/EPUB/ODP/ODT/PDF/PPTX renderers, with a guard test so new fields can't silently drop out again.
What's Changed
- Network fetch options: fix dead CLI flags, fake docs, redirect-limit enforcement, and
<center>handling by @thomas-villani in #58
Full Changelog: v1.8.0...v1.8.1