Parse markdown in the description.
This commit is contained in:
parent
297306e1df
commit
24fa23249b
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ class Event extends BaseEntity
|
|||
$event->setGeo($geo);
|
||||
}
|
||||
}
|
||||
$event->setDescription(str_replace("\r","",str_replace("\n",'\n',$this->description)));
|
||||
$event->setDescription(Markdown::defaultTransform($this->description));
|
||||
return $event;
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue