So basically this is a list of news (template):
HTML Code:
<a href="<?php echo $this->link;?>">
<div class="meta">
<img src="<?php echo $this->singleSRC;?>" alt="">
<time itemprop="dateCreated" datetime="<?php echo date("Y-m-d", $this->timestamp);?>"><?php echo date("d.m.Y", $this->timestamp);?></time>
</div>
<div class="news-content defpadding">
<!-- Max char 75 -->
<h2><?php echo $this->linkHeadline;?></h2>
<!-- Max char 190 -->
<?php echo $this->teaser;?>
</div>
</a>
and this is what I get back:
HTML Code:
<a href="aktuelles/das-abenteuer-erste-liga-beginnt-5.html">
<div class="meta">
<img src="files/SGBBM/SGBBM/Bilder/Aktuelles/news_square.jpg" alt="">
<time itemprop="dateCreated" datetime="2014-08-13">13.08.2014</time>
</div>
</a>
<div class="news-content defpadding">
<a href="aktuelles/das-abenteuer-erste-liga-beginnt-5.html">
<!-- Max char 75 -->
</a>
<h2>
<a href="aktuelles/das-abenteuer-erste-liga-beginnt-5.html"></a>
<a href="aktuelles/das-abenteuer-erste-liga-beginnt-5.html" title="Den Artikel lesen: Das Abenteuer Erste Liga beginnt 5">Das Abenteuer Erste Liga beginnt 5</a>
</h2>
<!-- Max char 190 -->
<p>Lorem ipsum text</p>
</div>
...no idea why (I removed the comments, and every extra line, still not good)
Bookmarks