mirror of
https://github.com/erusev/parsedown.git
synced 2024-09-20 03:51:29 +02:00
Expose text string backing
This commit is contained in:
parent
00835c5101
commit
c852b487b4
@ -20,6 +20,12 @@ final class Text implements Renderable
|
||||
$this->text = $text;
|
||||
}
|
||||
|
||||
/** @return string */
|
||||
public function getStringBacking()
|
||||
{
|
||||
return $this->text;
|
||||
}
|
||||
|
||||
/** @return string */
|
||||
public function getHtml()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user