Add persedown helper

This commit is contained in:
snipe 2016-05-24 10:21:33 -07:00
parent 6c6e65b8ca
commit de5e1ca86b

View file

@ -26,6 +26,16 @@ use App\Models\Asset;
class Helper
{
public static function parseEscapedMarkedown($str) {
$Parsedown = new \Parsedown();
if ($str) {
return $Parsedown->text(e($str));
}
}
// This doesn't do anything yet
public static function parseEmailList($emails)
{