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:
@@ -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()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user