@dg dg released this Jun 22, 2018 · 10 commits to master since this release

Assets 3

Please make a donation at https://nette.org/make-donation?to=texy

  • improved coding style

For the details you can have a look at the diff

@dg dg released this Jun 22, 2018 · 17 commits to master since this release

Assets 2

Please make a donation at https://nette.org/make-donation?to=texy

  • Added underscores support to element attributes (#43)
  • tests: added new HTML5 test
  • $widthDelta can also be FALSE
  • improved support for data-attributes via .{data-attr: val}
  • HeadingModule: fixed TOC

For the details you can have a look at the diff

@dg dg released this Jun 16, 2016 · 25 commits to master since this release

Assets 3
  • fixed unwanted conversion of \) and \* to HTML entities
  • added TexyMacro for Latte

For the details you can have a look at the diff

@dg dg released this Nov 7, 2015 · 31 commits to master since this release

Assets 3
  • ScriptModule: $args is always array
  • Helpers::outdent() - used old strategy for /--div (changed in Texy 2.5)
  • HtmlModule: fixed trimming spaces around src and href
  • Strict::getSuggestion() better balance

For the details you can have a look at the diff and release notes for 2.8.

@dg dg released this Oct 27, 2015 · 27 commits to v2.x since this release

Assets 3
  • fixed class loading, added preload for TexyHtml, TexyLink and TexyImage
  • internal code improvements
  • HtmlElement: added and used constructor

For the details you can have a look at the diff and release notes for 2.8.

@dg dg released this Oct 20, 2015 · 38 commits to v2.x since this release

Assets 3
  • Texy now uses namespaces API
  • minimal required PHP is 5.4.4
  • contains loader for former class names, so it should be 100% compatible
  • compatible with PHP 7
  • minified version is texy.phar
  • supports data- attributes #22

You can continue to use former class names like Texy or TexyConfigurator but at the same time you can use new names:

  • TexyTexy\Texy
  • TexyHtmlTexy\HtmlElement (not Texy\Html)
  • TexyConfiguratorTexy\Configurator
  • TexyHandlerInvocationTexy\HandlerInvocation
  • TexyParserTexy\Parser
  • TexyBlockParserTexy\BlockParser
  • TexyLineParserTexy\LineParser
  • TexyModifierTexy\Modifier
  • TexyImageTexy\Image
  • TexyLinkTexy\Link
  • TexyModuleTexy\Module
  • TexyPatternsTexy\Patterns
  • TexyUtfTexy\Utf
  • TexyRegexpTexy\Regexp
  • TexyBlockModuleTexy\Modules\BlockModule
  • TexyBlockQuoteModuleTexy\Modules\BlockQuoteModule
  • TexyEmoticonModuleTexy\Modules\EmoticonModule
  • TexyFigureModuleTexy\Modules\FigureModule
  • TexyHeadingModuleTexy\Modules\HeadingModule
  • TexyHorizLineModuleTexy\Modules\HorizLineModule
  • TexyHtmlModuleTexy\Modules\HtmlModule
  • TexyHtmlOutputModuleTexy\Modules\HtmlOutputModule
  • TexyImageModuleTexy\Modules\ImageModule
  • TexyLinkModuleTexy\Modules\LinkModule
  • TexyListModuleTexy\Modules\ListModule
  • TexyLongWordsModuleTexy\Modules\LongWordsModule
  • TexyParagraphModuleTexy\Modules\ParagraphModule
  • TexyPhraseModuleTexy\Modules\PhraseModule
  • TexyScriptModuleTexy\Modules\ScriptModule
  • TexyTableCellElementTexy\Modules\TableCellElement
  • TexyTableModuleTexy\Modules\TableModule
  • TexyTypographyModuleTexy\Modules\TypographyModule

Several helper methods have been moved to a new class Texy\Helpers (but old method still works):

  • Texy::normalize() (now Texy\Helpers::normalize() etc.)
  • Texy::webalize()
  • Texy::outdent()
  • Texy::freezeSpaces()
  • Texy::unfreezeSpaces()
  • Texy::isRelative()
  • Texy::prependRoot()
  • Utf::utf2ascii() (now Texy\Helpers::toAscii(), since 2.8.1)

For the details you can have a look at the diff.

@dg dg released this Oct 4, 2015 · 51 commits to v2.x since this release

Assets 3

This is a security release.

  • Texy: possible security violation #31 #34
  • TexyPatterns: link can begin with \w/+.~%&?@=_#$ #30
  • TexyLinkModule: allowed $()* inside URL

This is the last release for PHP < 5.4

For the details you can have a look at the diff.

Oct 5, 2015

v2.7

Released version 2.7

@dg dg released this Jun 20, 2014 · 86 commits to master since this release

Assets 3
  • TexyHtmlOutputModule: preserve spaces inside elements CODE, KBD, SAMP (i.e in elements defined in $preserveSpaces)
  • fixed some bugs

For the details you can have a look at the diff.

@dg dg released this Jun 11, 2014 · 84 commits to v2.x since this release

Assets 3

removed warning that PCRE 8.34 is not supported for PHP > 5.5.12