0.15.3

@colinodell colinodell released this Dec 19, 2016

Fixed

  • Allow inline parsers matching regex delimiter to be created (#271, #272)

Downloads

0.15.2

@colinodell colinodell released this Nov 22, 2016 · 5 commits to master since this release

Changed

  • Bumped spec target version to 0.27 (#268)
  • H2-H6 elements are now parsed as HTML block elements instead of HTML inlines

Fixed

  • Fixed incomplete punctuation regex
  • Fixed shortcut links not being allowed before a (
  • Fixed distinction between Unicode whitespace and regular whitespace

Downloads

0.15.1

@colinodell colinodell released this Nov 8, 2016 · 18 commits to master since this release

Fixed

  • Fixed setext heading underlines not allowing trailing tabs (#266)

Downloads

0.15.0

@colinodell colinodell released this Sep 14, 2016 · 21 commits to master since this release

Added

  • Added preliminary support for PHP 7.1 (#259)
  • Added more regression tests (#258, #260)

Changed

  • Bumped spec target version to 0.26 (#260)
  • The CursorState constructor requires an additional parameter (#258)
  • Ordered lists cannot interupt a paragraph unless they start with 1 (#260)
  • Blank list items cannot interupt a paragraph (#260)

Deprecated

  • Deprecated DelimiterStack::findFirstMatchingOpener() - use findMatchingOpener() instead (#260)

Fixed

  • Fixed tabs in ATX headers and thematic breaks (#260)
  • Fixed issue where cursor state was not being restored properly (#258, #260)
    • This fixed the lists-with-tabs regression reported in #258

Removed

  • Removed an unnecessary check in Cursor::advanceBy() (#260)
  • Removed the two-blanks-break-out-of-lists feature (#260)

Downloads

0.14.0

@colinodell colinodell released this Jul 2, 2016 · 41 commits to master since this release

Added

  • The safe option is deprecated and replaced by 2 new options (#253, #255):
    • html_input (strip, allow or escape): how to handle untrusted HTML input (the default is strip for BC reasons)
    • allow_unsafe_links (true or false): whether to allow risky image URLs and links (the default is true for BC reasons)

Deprecated

  • The safe option is now deprecated and will be removed in the 1.0.0 release.

Downloads

0.13.4

@colinodell colinodell released this Jun 14, 2016 · 49 commits to master since this release

Fixed

  • Fixed path to autoload.php within bin/commonmark (#250)

Downloads

0.13.3

@colinodell colinodell released this May 21, 2016 · 57 commits to master since this release

Added

  • Added setUrl() method for Link and Image elements (#227, #244)
  • Added cebe/markdown to the benchmark tool (#245)

Downloads

0.13.2

@colinodell colinodell released this Mar 27, 2016 · 67 commits to master since this release

Added

  • Added ability to invoke Converter as a function (#233, #239)
  • Added new advanceBySpaceOrTab convenience method to Cursor

Changed

  • Bumped spec target version to 0.25
  • Adjusted how tabs are handled by the Cursor (#234)
  • Made a couple small micro-optimizations to heavily used functions (#240)
  • Updated URLs in docblocks to use HTTPS where possible (#238)

Downloads

0.13.1

@colinodell colinodell released this Mar 9, 2016 · 84 commits to master since this release

Changed

  • Refactored EmphasisParser::parse() to simplify it (#223)
  • Updated dev dependencies (#218 & #220)

Fixed

  • Fixed invalid regex generated when no inline parsers are defined (#224)
  • Fixed logic bug with blank line after empty list item (#230)
  • Fixed some incorrect code comments

Removed

  • Removed unused variables (#223)

Downloads

0.13.0

@colinodell colinodell released this Jan 14, 2016 · 110 commits to master since this release

Added

  • Added AST document processors (#210)
  • Added optional Environment parameter to CommonMarkConverter constructor

Changed

  • Renamed "header" things to "heading" for spec consistency
    • Header => Heading
    • ATXHeaderParser => ATXHeadingParser
    • SetExtHeaderParser => SetExtHeadingParser
    • HeaderRenderer => HeadingRenderer
  • Renamed "HorizontalRule" to "ThematicBreak" for spec consistency
    • HorizontalRule => ThematicBreak
    • HorizontalRuleParser => ThematicBreakParser
    • HorizontalRuleRenderer => ThematicBreakRenderer
    • HorizontalRuleRendererTest => ThematicBreakRendererTest
    • RegexHelper::getHRuleRegex() => RegexHelper::getThematicBreakRegex()
  • Renamed inline "Html" and "RawHtml" to "HtmlInline" for consistency
    • Html => HtmlInline
    • RawHtmlParser => HtmlInlineParser
    • RawHtmlRenderer => HtmlInlineRenderer
  • Don't allow whitespace between link text and link label of a reference link (spec change)
  • Don't allow spaces in link destinations, even in <>
  • Allow multiline setext header content
    • The Heading constructor now allows $contents to be a string (old behavior) or string[] (new)

Fixed

Removed

Downloads