Skip to content
Snippets Groups Projects
Commit 8aa71059 authored by Dominique CLAUSE's avatar Dominique CLAUSE
Browse files

Issue #3273953 by Dom.: The filter doesn't remove   for the "Transform...

Issue #3273953 by Dom.: The filter doesn't remove   for the "Transform all &nbps; with standard spaces"
parent 41fb457b
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@ class NbspFilter extends FilterBase {
// Replace all   with standard spaces.
if ($this->settings['clean_all']) {
$text = preg_replace('/([^>]) /ui', '$1 ', $text);
$text = str_replace("\xc2\xa0", ' ', $text);
}
// Replace spaces before configured characters with  .
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment