1CHANGELOG 2========= 3 4Version 1.2.1 on 26. Mar. 2018 5------------------------------ 6 7- Improved handling of inline HTML with URL and email tags. 8- Improved handling of custom syntax with `[[`, references should not use `[` as the first character in the reference name. 9 10Version 1.2.0 on 14. Mar. 2018 11------------------------------ 12 13- #50 Do not render empty emphs. 14- #69 Improve ABSY for tables, make column and row information directly available in absy (@NathanBaulch) 15- #89 Lists should be separated by a HR (@bieleckim) 16- #95 Added `TableTrait::composeTable($head, $body)`, for easier overriding of table layout (@maximal, @cebe) 17- #111 Improve rendering of successive strongs (@wogsland) 18- #132 Improve detection and rendering of fenced code blocks in lists. 19- #134 Fix Emph and Strong to allow escaping `*` or `_` inside them. 20- #135 GithubMarkdown was not parsing inline code when there are square brackets around it. 21- #151 Fixed table rendering for lines begining with | for GFM (@GenaBitu) 22- Improved table rendering, allow single column tables. 23 24Version 1.1.2 on 16. Jul 2017 25----------------------------- 26 27- #126 Fixed crash on empty lines that extend a lazy list 28- #128 Fix table renderer which including default alignment (@tanakahisateru) 29- #129 Use given encoded URL if decoded URL text looks insecure, e.g. uses broken UTF-8 (@tanakahisateru) 30- Added a workaround for a [PHP bug](https://bugs.php.net/bug.php?id=45735) which exists in versions `<` 7.0, where `preg_match()` causes a segfault 31 on [catastropic backtracking][] in emph/strong parsing. 32 33[catastropic backtracking]: http://www.regular-expressions.info/catastrophic.html 34 35Version 1.1.1 on 14. Sep 2016 36----------------------------- 37 38- #112 Fixed parsing for custom self-closing HTML tags 39- #113 improve extensibility by making `prepareMarkers()` protected and add `parseBlock()` method 40- #114 better handling of continued inline HTML in paragraphs 41 42Version 1.1.0 on 06. Mar. 2015 43------------------------------ 44 45- improve compatibility with github flavored markdown 46- #64 fixed some rendering issue with emph and strong 47- #56 trailing and leading spaces in a link are now ignored 48- fixed various issues with table rendering 49- #98 Fix PHP fatal error when maximumNestingLevel was reached (@tanakahisateru) 50- refactored nested and lazy list handling, improved overall list rendering consistency 51- Lines containing "0" where skipped or considered empty in some cases (@tanakahisateru) 52- #54 escape characters are now also considered inside of urls 53 54Version 1.0.1 on 25. Oct. 2014 55------------------------------ 56 57- Fixed the `bin/markdown` script to work with composer autoloader (c497bada0e15f61873ba6b2e29f4bb8b3ef2a489) 58- #74 fixed a bug that caused a bunch of broken characters when non-ASCII input was given. Parser now handles UTF-8 input correctly. Other encodings are currently untested, UTF-8 is recommended. 59 60Version 1.0.0 on 12. Oct. 2014 61------------------------------ 62 63This is the first stable release of version 1.0 which is incompatible to the 0.9.x branch regarding the internal API which is used when extending the Markdown parser. The external API has no breaking changes. The rendered Markdown however has changed in some edge cases and some rendering issues have been fixed. 64 65The parser got a bit slower compared to earlier versions but is able to parse Markdown more accurately and uses an abstract syntax tree as the internal representation of the parsed text which allows extensions to work with the parsed Markdown in many ways including rendering as other formats than HTML. 66 67For more details about the changes see the [release message of 1.0.0-rc](https://github.com/cebe/markdown/releases/tag/1.0.0-rc). 68 69You can try it out on the website: <http://markdown.cebe.cc/try> 70 71The parser is now also regsitered on the [Babelmark 2 page](http://johnmacfarlane.net/babelmark2/?normalize=1&text=Hello+**World**!) by [John MacFarlane](http://johnmacfarlane.net/) which you can use to compare Markdown output of different parsers. 72 73Version 1.0.0-rc on 10. Oct. 2014 74--------------------------------- 75 76- #21 speed up inline parsing using [strpbrk](http://www.php.net/manual/de/function.strpbrk.php) about 20% speedup compared to parsing before. 77- #24 CLI script now sends all error output to stderr instead of stdout 78- #25 Added partial support for the Markdown Extra flavor 79- #10 GithubMarkdown is now fully supported including tables 80- #67 All Markdown classes are now composed out of php traits 81- #67 The way to extend markdown has changed due to the introduction of an abstract syntax tree. See https://github.com/cebe/markdown/commit/dd2d0faa71b630e982d6651476872469b927db6d for how it changes or read the new README. 82- Introduced an abstract syntax tree as an intermediate representation between parsing steps. 83 This not only fixes some issues with nested block elements but also allows manipulation of the markdown 84 before rendering. 85- This version also fixes serveral rendering issues. 86 87Version 0.9.2 on 18. Feb. 2014 88------------------------------ 89 90- #27 Fixed some rendering problems with block elements not separated by newlines 91 92Version 0.9.1 on 18. Feb. 2014 93------------------------------ 94 95Fixed an issue with inline markers that begin with the same character e.g. `[` and `[[`. 96 97Version 0.9.0 on 18. Feb. 2014 98------------------------------ 99 100The initial release. 101 102- Complete implementation of the original Markdown spec 103- GFM without tables 104- a command line tool for markdown parsing 105