Skip to content

Releases: textile/php-textile

v4.0.0

03 Dec 18:45
Compare
Choose a tag to compare
  • HTML void tags render a self-closing slash based on the given document type. If Parser::setDocumentType() is given Parser::DOCTYPE_XHTML, self-closing tags are used, otherwise not.

v3.8.0

03 Dec 18:20
Compare
Choose a tag to compare
  • Added Parser::setAlignClasses() and Parser::isAlignClassesEnabled(). This can be used to enable img alignment classes in XHTML output document mode, instead of the default align attribute.
  • Added Parser::DOCTYPE_HTML5 and Parser::DOCTYPE_XHTML constants. These can be used with Parser::setDocumentType() to specify the output document type.

v3.7.7

01 May 17:05
Compare
Choose a tag to compare
  • Fix deprecation errors that appear on PHP >= 8.1 about preg_split limit argument's NULL value.

v3.7.6

08 Jan 21:15
Compare
Choose a tag to compare

Changes:

  • Fix: support consecutive links without whitespace between using bracket syntax (closes #202, #205 and #206).

Install using Composer:

$ composer require netcarver/textile:3.7.6

PHP-Textile v3.7.6 requires PHP 5.3.0 or newer.

v3.7.5

16 Dec 21:49
Compare
Choose a tag to compare

Changes:

  • Fix PHP 7.4 compatibility issues (closes #199).

Install using Composer:

$ composer require netcarver/textile:3.7.5

PHP-Textile v3.7.5 requires PHP 5.3.0 or newer.

v3.7.4

15 Dec 14:42
Compare
Choose a tag to compare

Changes:

  • Fix issue where an inline tag preceding the last character, that is a glyph, is not rendered if the block tags are disabled with Parser::setBlockTags (closes #198).

Install using Composer:

$ composer require netcarver/textile:3.7.4

PHP-Textile v3.7.4 requires PHP 5.3.0 or newer.

v3.7.3

30 Aug 18:43
Compare
Choose a tag to compare

Changes:

  • Fix issues where divider tags placed on their own line within a paragraph, would disable Textile processing for that paragraph block (closes #194).

Install using Composer:

$ composer require netcarver/textile:3.7.3

PHP-Textile v3.7.3 requires PHP 5.3.0 or newer.

v3.7.2

08 Jun 17:59
Compare
Choose a tag to compare

Changes:

  • Fix quote and bracket processing around span and other inline tags (closes #191 and #192).

Install using Composer:

$ composer require netcarver/textile:3.7.2

PHP-Textile v3.7.1 requires PHP 5.3.0 or newer.

v3.7.1

26 Jan 17:11
Compare
Choose a tag to compare

Changes:

  • Fix and omit anchor links prefixing (closes #190).
  • Alignment attribute can be specified last within a block tag definition (closes #189).

Install using Composer:

$ composer require netcarver/textile:3.7.1

PHP-Textile v3.7.1 requires PHP 5.3.0 or newer.

v3.7.0

15 Dec 01:14
Compare
Choose a tag to compare

Changes:

  • Fix problems with list parsing; no longer matches inline-syntax, such as strongs, as list item markers (closes #172).
  • Add option to disable specific substitution symbols by setting them to FALSE (see #158).
  • Add option to apply classes, such as language-identifiers, to the code element within a bc (closes #96).
  • Add Parser::configure(), the method can be extended to create pre-configured parser classes.
  • Automatic paragraph wrapping now checks the contents and does not wrap paragraphs already wrapped in non-phrasing HTML tags (closes #22 and #63).
  • Add option to disable Textile formatting for blocks wrapped in non-standard HTML-like tags.
  • Check for starting list depth (closes #24).
  • Add Parser::setImagePrefix(), Parser::setLinkPrefix(), Parser::getImagePrefix() and Parser::getLinkPrefix() (closes #169).
  • Add Parser::setRawBlocks() and Parser::isRawBlocksEnabled().
  • Deprecate Parser::setRelativeImagePrefix() and Parser::$relativeImagePrefix in favour of the new decoupled methods.

Install using Composer:

$ composer require netcarver/textile:3.7.0

PHP-Textile v3.7.0 requires PHP 5.3.0 or newer.