Skip to content
@dg dg
Compare
Choose a tag to compare
  • support for Latte 3
  • coding style
@dg dg
Compare
Choose a tag to compare
  • support for PHP 8.1
@dg dg
Compare
Choose a tag to compare
  • accepts \t as separation character
  • strict fix
@dg dg
Compare
Choose a tag to compare

compatible with PHP 8.0

@dg dg
Compare
Choose a tag to compare
  • ListModule: definition list accepts \t
  • strict fix
  • added typo example

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

@dg dg
Compare
Choose a tag to compare
  • big refactoring
  • class alias are loaded on demand
  • TexyMacro: update for Latte >= 2.5
  • TableModule: removed $linemode (what it was?) (BC break)
  • ScriptModule: removed $handler used by Texy v1
  • Texy::stringToText() uses $lineWrap
  • Helpers::unescapeHtml() decodes '
  • Modifier: ensures 'style' & 'class' are arrays II.

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

@dg dg
Compare
Choose a tag to compare
  • full HTML5 support
  • removed support for XHTML, default output mode is HTML5 (BC break)
  • EmoticonModule: supports and by default uses emoji, files are marked as deprecated (BC break)
  • Texy::$nontextParagraph can be HtmlElement
  • Texy::$tabWidth = 0 disables replacing tabs with spaces
  • EmoticonModule: supports and by default uses emoji, files are deprecated
  • HtmlOutputModule: deprecated $removeOptional
  • FigureModule: $widthDelta sets 'max-width' instead of 'width'
  • ImageModule: removed autodetection for $fileRoot (BC break)
  • HtmlElement: added setAttribute() & getAttribute()

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

image

@dg dg
Compare
Choose a tag to compare
  • supports PHP 7.4

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

@dg dg
Compare
Choose a tag to compare
  • supports PHP 7.4

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

@dg dg
Compare
Choose a tag to compare

Code is cool

  • requires PHP 7.1
  • used PHP 7.1 syntax
  • added PHP 7.1 scalar and return type hints
  • added declare(strict_types=1);
  • uses only Composer's autoloader
  • updated historic examples
  • improved phpDoc

Removed some historical relics

  • LinkModule: removed $imageOnClick, $popupOnClick and support for pseudoclass [popup]
  • ImageModule: removed support for onmouseover state in images [* image | over | link *]
  • changed HTML tag ACRONYM -> ABBR
  • Texy: removed $styleSheet
  • only UTF-8 encoding is now supported

Changes

  • returning type of handlers changed from false to null bf014fe