- ListModule: definition list accepts \t
- strict fix
- added typo example
For the details you can have a look at the diff.
- 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.
- 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.
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
tonull
bf014fe