Releases: DivanDesign/EvolutionCMS.snippets.ddTypograph
Releases · DivanDesign/EvolutionCMS.snippets.ddTypograph
Version 2.7
Version 2.6.1
- * TinyMCE empty lines (
<p> </p>
) are no longer modified.
Version 2.6
- + Parameters →
optAlign_useClasses
: The new parameter. Allows to use CSS classes instead of inline styles for optical alignment (<span class="oa_comma_b">
instead of<span style="margin-right:-0.2em;">
). - + README:
- + Installation → Using (MODX)EvolutionCMS.libraries.ddInstaller.
- + Links → GitHub.
- + Composer.json:
- +
support
. - +
autoload
.
- +
Version 2.5
- * Attention! PHP >= 5.6 is required.
- * Attention! (MODX)EvolutionCMS.libraries.ddTools >= 0.48.1 is required.
- + You can just call
\DDTools\Snippet::runSnippet
to run the snippet without DB and eval (see README → Examples). - +
\ddDomainComparator\Snippet
: The new class. All snippet code was moved here. - + README → Links.
- * Composer.json:
- +
homepage
- +
authors
. - *
require
→dd/evolutioncms-libraries-ddtools
: Renamed fromdd/modxevo-library-ddtools
.
- +
Version 2.4.2
- * Attention! (MODX)EvolutionCMS.libraries.ddTools >= 0.32 is required.
- * Compatibility with (MODX)EvolutionCMS.libraries.ddTools >= 0.32.
Version 2.4.1
- + README.
- + README_ru.
- + CHANGELOG.
- + CHANGELOG_ru.
- + Composer.json.
- * Refactoring.
Version 2.4
- * Attention! PHP >= 5.4 is required.
- * Attention! (MODX)EvolutionCMS.libraries.ddTools >= 0.21 is required.
- + Added an ability to exlude HTML tags from snippet processing (see the
excludeTags
parameter). - * Content of the
<code>
tag is excluded by default from the snippet processing (theexcludeTags
parameter by default is equal tonotg,code
). - * Minor changes: Code style and comments.
Version 2.3
- * PHP.libraries.EMT has been updated to 3.5:
- + Unicode support has been added. At last!
- + The
+X (XXX)XXXXXXX
phone format is now supported. Phones matching this pattern will be rewritten as+X XXX XXX-XX-XX
. - + Thin space (
 
) is now being used as the thousands separator (10 000
). - * Mistaken transformation of an uppercase domain zone to initials has been fixed (
XXX.RU John Doe
→XXX.R. U. John Doe
). - * The error occurring while processing nested tags has been fixed.
- * Processing of links in quotes has been improved.
- * Putting dots in initials has been improved.
- * The quotes parsing rule was greatly improved.
- * The
$
,€
, and№
characters will be complemented with a non-breaking space (
) either after or before depending on the position of the adjacent number.
- * The
Nobr.phone_builder
typograph option now depends on thenoTags
snippet parameter. - * Forbidding line breaking using HTML tags is now controlled by the only
Etc.nobr_to_nbsp
typograph option. - * Other minor changes.
Version 2.2
- * Attention! (MODX)EvolutionCMS.libraries.ddTools >= 0.12 is required.
- * PHP.libraries.EMT has been updated to 3.3:
- * The period placement rule has been improved.
- * Optical margin alignment is now on by default. Also, the opening quotation mark alignment was improved.
- * The Volt symbol bug has been fixed.
- * Inch and closing quotation marks will no longer be mixed up.
- + The
noTags
parameter has been added. It allows disabling of HTML-tags inserting to the text. - - The redundant parameter
Nobr_hyphenNowrap
has been removed. You can usenoTags
instead. Please, contact us if you think that the removed parameter was useful and it should be returned. - * The following parameters have been renamed (the snippet works with the old names but they are deprecated):
OptAlign
→optAlign
.Text_paragraphs
→text_paragraphs
.Text_autoLinks
→text_autoLinks
.Etc_unicodeConvert
→etc_unicodeConvert
.
Version 2.1
- + The
Nobr_hyphenNowrap
parameter, allowing hyphenated words to be rendered in nowrap mode, has been added.