Skip to content
Snippets Groups Projects
Commit 96d9ed68 authored by Olga Lytvynenko's avatar Olga Lytvynenko
Browse files

MAGETWO-58617: [GitHub] WYSIWYG editor loses data after show-hide editor #5811

parent e4ffd593
No related merge requests found
......@@ -329,7 +329,7 @@ define([
encodeDirectives: function(content) {
// collect all HTML tags with attributes that contain directives
return content.gsub(/\<([a-z0-9\-\_]+.+?)([a-z0-9\-\_]+=".*?\{\{.+?\}\}.*?".*?)>/i, function(match) {
return content.gsub(/<([a-z0-9\-\_]+.+?)([a-z0-9\-\_]+=".*?\{\{.+?\}\}.*?".*?)>/i, function(match) {
var attributesString = match[2];
// process tag attributes string
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment