Skip to content

Commit c3e3a10

Browse files
committed
Version 4.8.2
2 parents 51b3fbf + 2294243 commit c3e3a10

File tree

6 files changed

+19
-11
lines changed

6 files changed

+19
-11
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# (MODX)EvolutionCMS.plugins.ManagerManager.mm_ddMultipleFields changelog
22

33

4+
## Version 4.8.2 (2020-05-26)
5+
* \* Richtext column: **All** `<`, `>` and `&` are not replaced to HTML entities (`&lt;`, `&gt;` and `&amp;` respectively).
6+
7+
48
## Version 4.8.1 (2020-05-25)
59
* \* Improved uniqueness row ID while it is used for backward compatibility.
610
* \* `jQuery.ddMM.mm_ddMultipleFields.init`: Fixed deprecated ID column using.

CHANGELOG_ru.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# (MODX)EvolutionCMS.plugins.ManagerManager.mm_ddMultipleFields changelog
22

33

4+
## Версия 4.8.2 (2020-05-26)
5+
* \* Колонка `richtext`: **Все** символы `<`, `>` и `&` больше не заменяются на HTML сущности (`&lt;`, `&gt;` и `&amp;` соответственно).
6+
7+
48
## Версия 4.8.1 (2020-05-25)
59
* \* Улучшена уникальность идентификатора строки, когда он используется для обратной совместимости.
610
* \* `jQuery.ddMM.mm_ddMultipleFields.init`: Исправлено использование устаревшей колонки `id`.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dd/evolutioncms-plugins-managermanager-mm_ddmultiplefields",
3-
"version": "4.8.1",
3+
"version": "4.8.2",
44
"description": "Widget for plugin ManagerManager that allows you to add any number of fields values (TV) in one document (values are written in field as a JSON object). For example: a few images.",
55
"keywords": [
66
"modx",

ddmultiplefields/ddmultiplefields.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* mm_ddMultipleFields
4-
* @version 4.8.1 (2020-05-25)
4+
* @version 4.8.2 (2020-05-26)
55
*
66
* @link https://code.divandesign.biz/modx/mm_ddmultiplefields
77
*
@@ -103,7 +103,7 @@ function mm_ddMultipleFields($params){
103103
),
104104
'html',
105105
'jQuery.ddMM.mm_ddMultipleFields',
106-
'2.5.5'
106+
'2.5.6'
107107
);
108108

109109
$e->output($output);

ddmultiplefields/jQuery.ddMM.mm_ddMultipleFields.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* jQuery.ddMM.mm_ddMultipleFields
3-
* @version 2.5.5 (2020-05-25)
3+
* @version 2.5.6 (2020-05-25)
44
*
55
* @uses jQuery 1.9.1
66
* @uses jQuery.ddTools 1.8.1
@@ -85,7 +85,7 @@ $.ddMM.mm_ddMultipleFields = {
8585

8686
/**
8787
* @method updateTv
88-
* @version 4.3 (2020-05-25)
88+
* @version 4.3.1 (2020-05-26)
8989
*
9090
* @desc Обновляет оригинальное поле TV, собирая данные по мульти-полям.
9191
*
@@ -163,15 +163,15 @@ $.ddMM.mm_ddMultipleFields = {
163163
.stringify(fieldValueObject)
164164
//Decode some HTML entities
165165
.replace(
166-
'&lt;',
166+
/&lt;/gi,
167167
'<'
168168
)
169169
.replace(
170-
'&gt;',
170+
/&gt;/gi,
171171
'>'
172172
)
173173
.replace(
174-
'&amp;',
174+
/&amp;/gi,
175175
'&'
176176
)
177177
;

ddmultiplefields/richtext/script.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ $(function(){
88
.html()
99
//Decode some HTML entities
1010
.replace(
11-
'&lt;',
11+
/&lt;/gi,
1212
'<'
1313
)
1414
.replace(
15-
'&gt;',
15+
/&gt;/gi,
1616
'>'
1717
)
1818
.replace(
19-
'&amp;',
19+
/&amp;/gi,
2020
'&'
2121
)
2222
)

0 commit comments

Comments
 (0)