Skip to content
Snippets Groups Projects
Commit 3b9f16d5 authored by Tim Rohaly's avatar Tim Rohaly
Browse files

Issue #3457112: FormatTextFilter needs to return a string

parent 6c65bc52
No related branches found
No related tags found
1 merge request!19Issue #3457112 by TR: FormatTextFilter needs to return a string
Pipeline #209014 passed with warnings
......@@ -60,7 +60,7 @@ class FormatTextFilter extends DataFilterBase {
* {@inheritdoc}
*/
public function filter(DataDefinitionInterface $definition, $value, array $arguments, BubbleableMetadata $bubbleable_metadata = NULL) {
return check_markup($value, $arguments[0]);
return (string) check_markup($value, $arguments[0]);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment