diff --git a/src/Components/Blocks/Table.php b/src/Components/Blocks/Table.php index ae1affa..483630a 100644 --- a/src/Components/Blocks/Table.php +++ b/src/Components/Blocks/Table.php @@ -105,8 +105,6 @@ final class Table implements ContinuableBlock return null; } - $Elements = []; - $row = \trim(\trim($Context->line()->text()), '|'); if ( diff --git a/src/Components/Inlines/Link.php b/src/Components/Inlines/Link.php index ac6cac6..87d7ea0 100644 --- a/src/Components/Inlines/Link.php +++ b/src/Components/Inlines/Link.php @@ -53,7 +53,7 @@ final class Link implements Inline if (! \preg_match('/\[((?:[^][]++|(?R))*+)\]/', $remainder, $matches)) { return null; } - $rawLabelPart = $matches[0]; + $label = $matches[1]; $width = \strlen($matches[0]);