Skip to content

Commit bf2efff

Browse files
author
Stanislav Idolov
authored
Fixed code style issue
1 parent 4e62fe3 commit bf2efff

File tree

1 file changed

+2
-2
lines changed
  • lib/web/mage/adminhtml/wysiwyg/tiny_mce

1 file changed

+2
-2
lines changed

lib/web/mage/adminhtml/wysiwyg/tiny_mce/setup.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -461,9 +461,9 @@ define([
461461
decodeDirectives: function (content) {
462462
// escape special chars in directives url to use it in regular expression
463463
var url = this.makeDirectiveUrl('%directive%').replace(/([$^.?*!+:=()\[\]{}|\\])/g, '\\$1'),
464-
reg = new RegExp(url.replace('%directive%', '([a-zA-Z0-9,_-]+)'));
464+
reg = new RegExp(url.replace('%directive%', '([a-zA-Z0-9,_-]+)')),
465+
uriReg = /___directive\/(.*)\/key\//g;
465466

466-
var uriReg = /___directive\/(.*)\/key\//g;
467467
content = content.replace(uriReg, function (match) {
468468
return decodeURIComponent(match);
469469
});

0 commit comments

Comments
 (0)