Commit 1dda01d5 authored by Dominik Hebeler's avatar Dominik Hebeler

Added Ellipsis to cut strings in description of results

parent 809e6ab4
Pipeline #2542 passed with stage
in 1 minute and 18 seconds
......@@ -42,7 +42,7 @@ class Result
if (strlen($this->descr) > 150) {
$this->descr = wordwrap($this->descr, 150);
$this->descr = substr($this->descr, 0, strpos($this->descr, "\n"));
$this->descr .= "…"; // Ellipsis character
}
$this->gefVon = trim($gefVon);
$this->gefVonLink = trim($gefVonLink);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment