Skip to content

v2.5.3

Compare
Choose a tag to compare
@netcarver netcarver released this 30 Oct 20:15
· 738 commits to master since this release

This release fixes multiple issues with Textile library and its formatting features. Changes:

  • Fix double image URL encoding (closes #102)
  • Fix URL reference token spoofing.
  • Fix broken parser output when $strict argument was set to TRUE (closes #119).
  • Fix memory leaking tag cache. Tag cache is never reset between textileThis() and textileRestricted() calls referencing the same instance.
  • Fix rare instances where a link displays a wrong URL mentioned elsewhere in the document.
  • Fix invalid markup generated when Redcloth-style definition list is used inside a table cell.
  • Link aliases follow same allowed URL schemes as normal links.
  • Update hasRawText() and fPBr() to detect a wider range of raw HTML and XHTML.
  • Unify attribute order with Redcloth.
  • Reduce list and blockquote indentation level to match paragraphs and other block tags.
  • Restrict how spans are parsed (closes #106).
  • Fix citations on spans (closes #120).
  • Refactors parseAttribsToArray() slightly.

Install using Composer:

$ composer require "netcarver/textile 2.5.3"

Textile v2.5.3 requires PHP 5.0.0 or newer.