Parse markdown in the description.

This commit is contained in:
Tim Schumacher 2015-04-13 22:01:36 +02:00
parent 297306e1df
commit 24fa23249b

View file

@ -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;
}
}