Skip to content

Commit

Permalink
won’t work internally in Parsedown
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed May 9, 2023
1 parent 694ab76 commit 36afa9d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
1 change: 1 addition & 0 deletions system/src/Grav/Common/Markdown/Parsedown.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*/
class Parsedown extends \Parsedown
{

use ParsedownGravTrait;

/**
Expand Down
10 changes: 0 additions & 10 deletions system/src/Grav/Common/Markdown/ParsedownGravTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ trait ParsedownGravTrait
/** @var array */
public $continuable_blocks = [];

/** @var array */
protected $values = [];

/** @var Excerpts */
protected $excerpts;
Expand Down Expand Up @@ -304,13 +302,5 @@ public function __call($method, $args)
return null;
}

public function __get($key)
{
return $this->values[$key];
}

public function __set($key, $value)
{
$this->values[$key] = $value;
}
}

0 comments on commit 36afa9d

Please sign in to comment.