1

I am successfully migrating the content from Drupal 7 to Drupal 9. However, I am getting some extra non-breaking spaces I'd like to remove.

screenshot

I tried using a basic str_replace plugin, but that doesn't work.

screenshot

What am I doing wrong? What else should I look into?

1
  • 2
    Have you confirmed that string exists in the source data?
    – sonfd
    Jan 12, 2021 at 21:30

1 Answer 1

2

By taking a look into the StrReplace class I see that you are missing the source key, which should be the name of the field/column/whatever you are importing from.

If it does not work, try to also remove the "regex" key and if it still does not, try to use a simpler search, to ensure that the problem does not lie with your data.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.