https://www.drupal.org/project/search_api/issues/3081180

I thought we already solved this white space issue but unfortunately this is not the case. The "/\s+/u" regex pattern doesn't match all white spaces. "/[\pZ\pC]+/u" is the one that does. Here this can be tested: https://gist.github.com/chrif/8dffdb1dab7cba848c3f3fb62a17485e

Comments

mibfire created an issue. See original summary.

mibfire’s picture

I attached the previous patch where i fixed this.

mibfire’s picture

Title: HTML filter leaves whitespaces reloaded2 » HTML filter leaves whitespaces reloaded 2
drunken monkey’s picture

Status: Active » Fixed

Thanks a lot for posting this!
However, in the future, please create patches off of the current dev version, not of an old version. The latter makes them harder to apply, and harder to see the actual change.
Anyways, once correctly applied the patch looks good.
So: committed. Thanks again!

Status: Fixed » Closed (fixed)

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