Skip to content

Commit

Permalink
Version 2.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronef committed May 6, 2020
2 parents f02b1b8 + 671d898 commit 9da2968
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 11 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# (MODX)EvolutionCMS.snippets.ddTypograph changelog


## Version 2.4.2 (2020-05-06)
* \* Attention! (MODX)EvolutionCMS.libraries.ddTools >= 0.32 is required.
* \* Compatibility with (MODX)EvolutionCMS.libraries.ddTools >= 0.32.


## Version 2.4.1 (2020-05-04)
* \+ README.
* \+ README_ru.
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG_ru.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# (MODX)EvolutionCMS.snippets.ddTypograph changelog


## Версия 2.4.2 (2020-05-06)
* \* Внимание! Требуется (MODX)EvolutionCMS.libraries.ddTools >= 0.32.
* \* Совместимость с (MODX)EvolutionCMS.libraries.ddTools >= 0.32.


## Версия 2.4.1 (2020-05-04)
* \+ README.
* \+ README_ru.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The snippet doesn’t use third-party services, also it sends no requests. In ot
## Requires

* PHP >= 5.4
* [(MODX)EvolutionCMS.libraries.ddTools](https://code.divandesign.biz/modx/ddtools) >= 0.21
* [(MODX)EvolutionCMS.libraries.ddTools](https://code.divandesign.biz/modx/ddtools) >= 0.32
* [PHP.libraries.EMT](http://mdash.ru) 3.5 (contains in archive)


Expand All @@ -20,7 +20,7 @@ The snippet doesn’t use third-party services, also it sends no requests. In ot
#### 1. Elements → Snippets: Create a new snippet with the following data

1. Snippet name: `ddTypograph`.
2. Description: `<b>2.4.1</b> Snippet for text typography. The snippet doesn’t use third-party services, also it sends no requests. In other words, everything is performed on your server.`.
2. Description: `<b>2.4.2</b> Snippet for text typography. The snippet doesn’t use third-party services, also it sends no requests. In other words, everything is performed on your server.`.
3. Category: `Core`.
4. Parse DocBlock: `no`.
5. Snippet code (php): Insert content of the `ddTypograph_snippet.php` file from the archive.
Expand Down
4 changes: 2 additions & 2 deletions README_ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
## Использует

* PHP >= 5.4
* [(MODX)EvolutionCMS.libraries.ddTools](https://code.divandesign.biz/modx/ddtools) >= 0.21
* [(MODX)EvolutionCMS.libraries.ddTools](https://code.divandesign.biz/modx/ddtools) >= 0.32
* [PHP.libraries.EMT](http://mdash.ru) 3.5 (содержится в архиве)


Expand All @@ -19,7 +19,7 @@
#### 1. Элементы → Сниппеты: Создайте новый сниппет со следующими параметрами

1. Название сниппета: `ddTypograph`.
2. Описание: `<b>2.4.1</b> Сниппет типографирует текст. Не использует сторонних сервисов, не отправляет никаких запросов, всё делается прямо у вас на сервере.`.
2. Описание: `<b>2.4.2</b> Сниппет типографирует текст. Не использует сторонних сервисов, не отправляет никаких запросов, всё делается прямо у вас на сервере.`.
3. Категория: `Core`.
4. Анализировать DocBlock: `no`.
5. Код сниппета (php): Вставьте содержимое файла `ddTypograph_snippet.php` из архива.
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "dd/evolutioncms-snippets-ddtypograph",
"type": "modxevo-snippet",
"version": "2.4.1",
"version": "2.4.2",
"description": "Snippet for text typography. The snippet doesn't use third-party services, also it sends no requests. In other words, everything is performed on your server.",
"keywords": [
"modx",
Expand All @@ -23,6 +23,6 @@
],
"require": {
"php": ">=5.4.0",
"dd/modxevo-library-ddtools": ">=0.21.0"
"dd/modxevo-library-ddtools": ">=0.32.0"
}
}
10 changes: 5 additions & 5 deletions ddTypograph_snippet.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* ddTypograph
* @version 2.4.1 (2020-05-04)
* @version 2.4.2 (2020-05-06)
*
* @see README.md
*
Expand Down Expand Up @@ -38,15 +38,15 @@
);

//Для обратной совместимости
extract(\ddTools::verifyRenamedParams(
$params,
[
extract(\ddTools::verifyRenamedParams([
'params' => $params,
'compliance' => [
'optAlign' => 'OptAlign',
'text_paragraphs' => 'Text_paragraphs',
'text_autoLinks' => 'Text_autoLinks',
'etc_unicodeConvert' => 'Etc_unicodeConvert'
]
));
]));

//Safe tags
$excludeTags =
Expand Down

0 comments on commit 9da2968

Please sign in to comment.