This commit is contained in:
2019-03-06 15:25:31 +01:00
parent 96872bedf4
commit 213ecd4ed0
3 changed files with 4 additions and 4 deletions

View File

@ -67,7 +67,7 @@ class Loop extends Tag {
foreach ($elements as $ele) {
if($ele->getAttribute("column") == "content") {
Functions::appendHTML($ele->parentNode, substr($posts[$i]->getContent(), 0, 255));
Functions::appendHTML($ele->parentNode, $posts[$i]->getContent());
} elseif($ele->getAttribute("column") == "category") {
// var_dump($posts[$i]->getCategory()->getName());
if($posts[$i]->getCategory() != null) $txt = $doc->createTextNode($posts[$i]->getCategory()->getName());