Issue #3414145: Compare markup between MarkupInterface objects and plain strings is deprecated in drupal:10.1.0