Skip to content

Releases: DivanDesign/EvolutionCMS.snippets.ddTypograph

Version 2.7

07 Jul 11:20
Compare
Choose a tag to compare
  • + You can turn off typography for a text fragment aslo by using the <span class="notg"></span> tag.

Version 2.6.1

22 Aug 20:31
Compare
Choose a tag to compare
  • * TinyMCE empty lines (<p>&nbsp;</p>) are no longer modified.

Version 2.6

22 Aug 17:49
Compare
Choose a tag to compare
  • + 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

29 Mar 16:23
Compare
Choose a tag to compare
  • * 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.
    • * requiredd/evolutioncms-libraries-ddtools: Renamed from dd/modxevo-library-ddtools.

Version 2.4.2

06 May 18:14
Compare
Choose a tag to compare
  • * Attention! (MODX)EvolutionCMS.libraries.ddTools >= 0.32 is required.
  • * Compatibility with (MODX)EvolutionCMS.libraries.ddTools >= 0.32.

Version 2.4.1

04 May 14:20
Compare
Choose a tag to compare
  • + README.
  • + README_ru.
  • + CHANGELOG.
  • + CHANGELOG_ru.
  • + Composer.json.
  • * Refactoring.

Version 2.4

04 May 14:16
Compare
Choose a tag to compare
  • * 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 (the excludeTags parameter by default is equal to notg,code).
  • * Minor changes: Code style and comments.

Version 2.3

04 May 14:15
Compare
Choose a tag to compare
  • * 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 (&thinsp;) is now being used as the thousands separator (10&thinsp;000).
    • * Mistaken transformation of an uppercase domain zone to initials has been fixed (XXX.RU John DoeXXX.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 (&nbsp;) either after or before depending on the position of the adjacent number.
  • * The Nobr.phone_builder typograph option now depends on the noTags 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

04 May 14:15
Compare
Choose a tag to compare
  • * 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 use noTags 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):
    • OptAlignoptAlign.
    • Text_paragraphstext_paragraphs.
    • Text_autoLinkstext_autoLinks.
    • Etc_unicodeConvertetc_unicodeConvert.

Version 2.1

04 May 14:15
Compare
Choose a tag to compare
  • + The Nobr_hyphenNowrap parameter, allowing hyphenated words to be rendered in nowrap mode, has been added.