mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03: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;
|
$this->text = $text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @return string */
|
||||||
|
public function getStringBacking()
|
||||||
|
{
|
||||||
|
return $this->text;
|
||||||
|
}
|
||||||
|
|
||||||
/** @return string */
|
/** @return string */
|
||||||
public function getHtml()
|
public function getHtml()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user