File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
app/code/Magento/Widget/Model/Widget/Wysiwyg Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11
11
class Normalizer
12
12
{
13
13
14
- const WYSIWYG_RESERVED_CHARCTERS_REPLACEMENT_MAP = [
14
+ const WYSIWYG_RESERVED_CHARACTERS_REPLACEMENT_MAP = [
15
15
'{ ' => '^[ ' ,
16
16
'} ' => '^] ' ,
17
17
'" ' => '` ' ,
@@ -27,8 +27,8 @@ class Normalizer
27
27
public function replaceReservedCharacters ($ content )
28
28
{
29
29
return str_replace (
30
- array_keys (Normalizer::WYSIWYG_RESERVED_CHARCTERS_REPLACEMENT_MAP ),
31
- array_values (Normalizer::WYSIWYG_RESERVED_CHARCTERS_REPLACEMENT_MAP ),
30
+ array_keys (Normalizer::WYSIWYG_RESERVED_CHARACTERS_REPLACEMENT_MAP ),
31
+ array_values (Normalizer::WYSIWYG_RESERVED_CHARACTERS_REPLACEMENT_MAP ),
32
32
$ content
33
33
);
34
34
}
@@ -42,8 +42,8 @@ public function replaceReservedCharacters($content)
42
42
public function restoreReservedCharacters ($ content )
43
43
{
44
44
return str_replace (
45
- array_values (Normalizer::WYSIWYG_RESERVED_CHARCTERS_REPLACEMENT_MAP ),
46
- array_keys (Normalizer::WYSIWYG_RESERVED_CHARCTERS_REPLACEMENT_MAP ),
45
+ array_values (Normalizer::WYSIWYG_RESERVED_CHARACTERS_REPLACEMENT_MAP ),
46
+ array_keys (Normalizer::WYSIWYG_RESERVED_CHARACTERS_REPLACEMENT_MAP ),
47
47
$ content
48
48
);
49
49
}
You can’t perform that action at this time.
0 commit comments