[markdown] Bump version, add changelog entries.

Signed-off-by: Thomas Hochstein <thh@inter.net>
This commit is contained in:
Thomas Hochstein 2018-11-10 22:35:17 +01:00
parent fd183bb999
commit b8b90f3b54
2 changed files with 8 additions and 35 deletions

View file

@ -1,3 +1,10 @@
Version 1.28:
=============
Changes by Thomas Hochstein <thh@inter.net>
- Upgrade PHP Markdown Lib to 1.8.0 (was 1.7.0).
- Upgrade PHP SmartyPants Lib to 1.8.1 (was 1.6.0-beta1).
Version 1.27:
=============
Changes by Thomas Hochstein <thh@inter.net>
@ -64,37 +71,3 @@ Changes by Lukas Reindl (ljr_nbg [at] web [dot] de)
- Updated PHP Markdown Extra 1.0.1 to 1.2.5
- Patched PHP Markdown and PHP Markdown Extra:
changed curly brackets for accessing array members to square brackets (see below for details)
- - - - - - - - - - - - - - - - - - - - - -
Changes were done in the following lines (original lines included here):
(Included for documentation. Should be removed in future updates.)
PHP Markdown 1.0.1o
-------------------
- Line 910: $level = $matches[2]{0} == '=' ? 1 : 2;
- Line 1206: $token_stack[0] = str_repeat($token{0}, 3-$token_len);
- Line 1231: $em = $token{0};
- Line 1560: switch ($token{0}) {
- Line 1562: return $this->hashPart("&#". ord($token{1}). ";");
PHP Markdown Extra 1.2.5
------------------------
- Line 934: $level = $matches[2]{0} == '=' ? 1 : 2;
- Line 1230: $token_stack[0] = str_repeat($token{0}, 3-$token_len);
- Line 1255: $em = $token{0};
- Line 1584: switch ($token{0}) {
- Line 1586: return $this->hashPart("&#". ord($token{1}). ";");
- Line 1934: if ($tag{0} == "`") {
- Line 1970: else if ($tag{0} == "\n" || $tag{0} == " ") {
- Line 1998: $tag{1} == '!' || $tag{1} == '?')
- Line 2017: if ($tag{1} == '/') $depth--;
- Line 2018: else if ($tag{strlen($tag)-2} != '/' $depth++;
- Line 2122: return array($original_text{0}, substr($original_text, 1));
- Line 2134: $tag{1} == '!' || $tag{1} == '?')
- Line 2145: if ($tag{1} == '/') $depth--;
- Line 2146: else if ($tag{strlen($tag)-2} != '/') $depth++;
- Line 2270: $level = $matches[3]{0} == '=' ? 1 : 2;

View file

@ -31,7 +31,7 @@ class serendipity_event_markdown extends serendipity_event
'smarty' => '2.6.7',
'php' => '5.3.0'
));
$propbag->add('version', '1.27');
$propbag->add('version', '1.28');
$propbag->add('cachable_events', array('frontend_display' => true));
$propbag->add('event_hooks', array(
'frontend_display' => true,