Allow users to enter in mixed text and macros in URLs inside TinyMCE. Fixes bug #12094.
This commit is contained in:
parent
85f52c2499
commit
e3ec56c3c1
2 changed files with 2 additions and 3 deletions
|
|
@ -1,4 +1,5 @@
|
|||
7.10.14
|
||||
- fixed #12094: Cannot enter in Macros in URLs inside TinyMCE.
|
||||
|
||||
7.10.13
|
||||
- added #12079: Carousel Auto Play
|
||||
|
|
|
|||
|
|
@ -5,15 +5,13 @@
|
|||
colon = /%3B/g,
|
||||
leftParen = /%28/g,
|
||||
rightParen = /%29/g,
|
||||
front = /^.*(\^.*)$/,
|
||||
quot = /"/g;
|
||||
|
||||
function convert(url) {
|
||||
return url.replace(carat, '^')
|
||||
.replace(colon, ':')
|
||||
.replace(leftParen, '(')
|
||||
.replace(rightParen, ')')
|
||||
.replace(front, '$1');
|
||||
.replace(rightParen, ')');
|
||||
}
|
||||
|
||||
function recurse(el) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue