mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-14 01:24:06 -08:00
Add persedown helper
This commit is contained in:
parent
6c6e65b8ca
commit
de5e1ca86b
|
@ -26,6 +26,16 @@ use App\Models\Asset;
|
||||||
class Helper
|
class Helper
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
public static function parseEscapedMarkedown($str) {
|
||||||
|
$Parsedown = new \Parsedown();
|
||||||
|
|
||||||
|
if ($str) {
|
||||||
|
return $Parsedown->text(e($str));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// This doesn't do anything yet
|
// This doesn't do anything yet
|
||||||
public static function parseEmailList($emails)
|
public static function parseEmailList($emails)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue