summaryrefslogtreecommitdiff
path: root/src/web/third_party/parsedown.php
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-12-11 17:11:22 -0500
committerFreya Murphy <freya@freyacat.org>2024-12-11 17:11:22 -0500
commitabd24964e2d167613dd78e5b5f0efc163e2fe3d2 (patch)
tree16999d9896f31540c09b5912b77e5dd12a0631b3 /src/web/third_party/parsedown.php
parentfix git url (diff)
downloadwebsite-abd24964e2d167613dd78e5b5f0efc163e2fe3d2.tar.gz
website-abd24964e2d167613dd78e5b5f0efc163e2fe3d2.tar.bz2
website-abd24964e2d167613dd78e5b5f0efc163e2fe3d2.zip
update third party libraries
Diffstat (limited to 'src/web/third_party/parsedown.php')
-rw-r--r--src/web/third_party/parsedown.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/web/third_party/parsedown.php b/src/web/third_party/parsedown.php
index 4d60658..8f1fb2e 100644
--- a/src/web/third_party/parsedown.php
+++ b/src/web/third_party/parsedown.php
@@ -17,7 +17,7 @@ class Parsedown
{
# ~
- const version = '1.8.0-beta-7';
+ const version = '1.8.0';
# ~
@@ -571,7 +571,7 @@ class Parsedown
#
# List
- protected function blockList($Line, array $CurrentBlock = null)
+ protected function blockList($Line, ?array $CurrentBlock = null)
{
list($name, $pattern) = $Line['text'][0] <= '-' ? array('ul', '[*+-]') : array('ol', '[0-9]{1,9}+[.\)]');
@@ -808,7 +808,7 @@ class Parsedown
#
# Setext
- protected function blockSetextHeader($Line, array $Block = null)
+ protected function blockSetextHeader($Line, ?array $Block = null)
{
if ( ! isset($Block) or $Block['type'] !== 'Paragraph' or isset($Block['interrupted']))
{
@@ -894,7 +894,7 @@ class Parsedown
#
# Table
- protected function blockTable($Line, array $Block = null)
+ protected function blockTable($Line, ?array $Block = null)
{
if ( ! isset($Block) or $Block['type'] !== 'Paragraph' or isset($Block['interrupted']))
{