Install

Works with Drupal: ^10.4 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 38.65 KB
MD5: d993127fb228cc1a8a0bada53690d4cf
SHA-1: 49d91d16c518336b8f11d58cfb74abece741a4bc
SHA-256: 2d72dd98fe5a7c3c3638bf6ca005b4f8a9f6f79e140d6eb24b5b58fea44cd2df
Download zip 62.35 KB
MD5: 15fffb3a7860da7c0feeb79677839a49
SHA-1: 5deafd7614ff27f060b1ce46c7d84f1d9cecdc0f
SHA-256: 7550c5d009d2a0a882c4fbed592ec01b164b9464d4436c54bf485c4e9f0c1030

Release notes

Changes since 1.0.0-rc1:

  • Issue #3575582 by webbywe: Update module for Document Loader 2.x and html_processor 1.0-rc1 compatibility. Extracts all HTML processing services to the standalone html_processor module; this module becomes a bridge plugin. Adds the document_loader_html_processor_url opt-in submodule for URL fetching.

Breaking changes:

  • The following classes have been removed. Replace with their html_processor equivalents (see README.md § Breaking migration notice for full mapping): HtmlSanitizerConfigBuilder, HtmlContainerExtractor, HtmlManipulator, RelativeUrlRewriter, AdRemovalHelper, HtmlFetcher, HtmlFetcherInterface, HtmlFetcherFactory, HtmlSanitizerConfigBuilderInterface, HtmlContainerExtractorInterface, HtmlManipulatorInterface, RelativeUrlRewriterInterface.
  • HtmlProcessorException renamed to DocumentLoaderHtmlProcessorException.
  • HtmlProcessorInput no longer accepts a combined content/url bag. Use HtmlContentInput for in-memory HTML; use the new URL submodule for fetching.
  • drush dlhp:test no longer accepts --content-file. Pass HTML via --content.

New:

  • HtmlContentInput: in-memory HTML input for document_loader_type:html_content.
  • HtmlProcessorTrait (src/Traits/): shared pipeline logic for both loaders.
  • document_loader_html_processor_url submodule: opt-in Guzzle-backed URL loader with SSRF scheme allowlist (http/https only), 10 MB bounded streaming read, Content-Length early rejection, redirect protocol pinning, and credential redaction in error messages.
  • drush dlhpu:test: Drush test command for the URL submodule.
  • Integration test suite using real html_processor services (24 tests).
  • URL loader unit test suite (18 tests).
Created by: webbywe
Created on: 30 Jun 2026 at 07:45 UTC
Last updated: 30 Jun 2026 at 07:46 UTC
New features

Other releases