Problem/Motivation

The html_filter processor schema defines tags as a sequence of integers, but the default configuration provides floats (e.g., 1.5). This mismatch can cause schema validation issues.

Proposed resolution

Update the schema to use type: float instead of type: integer.

Steps to reproduce

  1. Enable the processor with default configuration.
  2. Export or validate config and see that floats conflict with the integer type.

Config lost on save

CommentFileSizeAuthor
Screenshot 2025-09-16 at 15.15.18.png64.08 KBjoelpittet

Issue fork search_api-3547098

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

joelpittet created an issue. See original summary.

joelpittet’s picture

Status: Active » Needs review

drunken monkey made their first commit to this issue’s fork.

drunken monkey’s picture

Component: General code » Plugins
Status: Needs review » Fixed

Looks great, thanks!
I just added some test coverage and then merged. Thanks again!

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

drunken monkey’s picture

Issue tags: +Vienna2025
joelpittet’s picture

Oh nice, thanks for the test coverage!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.