Skip to content
Snippets Groups Projects
Verified Commit 105787ce authored by Jonas Leder's avatar Jonas Leder
Browse files

allow html in blog content

parent 3ceb2eb6
Branches
No related tags found
No related merge requests found
<div *ngIf="blogPosts" class="blog">
<article class="breakWord" *ngFor="let blogPost of blogPosts">
<h2 [innerText]="blogPost.title"></h2>
<p class="breakWord" [innerText]="blogPost.content"></p>
<p class="breakWord" [innerHtml]="blogPost.content"></p>
<p class="center"><a [href]="'/post?id=' + blogPost.id"><button>Mehr lesen</button></a></p>
</article>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment