<commit_before>import { Component, OnInit, Input } from '@angular/core';
import { MdRenderService } from '@nvxme/ngx-md-render';
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';

@Component({
  selector: 'post',
  templateUrl: './Post.component.html',
  styleUrls: ['./Post.component.css']
})
export class PostComponent implements OnInit { 
  @Input('source') source: string;
  rendered: SafeHtml;

  constructor(private sanitizer: DomSanitizer,
              private mdRender: MdRenderService) {}

  ngOnInit() {
    const html = this.mdRender.render(this.source);
    this.rendered = this.sanitizer.bypassSecurityTrustHtml(html);
  }
}<commit_msg>make post more than the body<commit_after>import { Component, OnInit, Input } from '@angular/core';
import { MdRenderService } from '@nvxme/ngx-md-render';
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
import { Post } from '../../services/BlogAPI.service';

@Component({
  selector: 'post',
  templateUrl: './Post.component.html',
  styleUrls: ['./Post.component.css']
})
export class PostComponent implements OnInit { 
  @Input('source') source: Post;
  rendered: SafeHtml;

  constructor(private sanitizer: DomSanitizer,
              private mdRender: MdRenderService) {}

  ngOnInit() {
    const html = this.mdRender.render(this.source.Body);
    this.rendered = this.sanitizer.bypassSecurityTrustHtml(html);
  }
}
{'fraction_non_alphanumeric': 0.14052519517388218, 'fraction_numerical': 0.0, 'mean_word_length': 4.444015444015444, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5383697', 'n_tokens_mistral': 441, 'n_tokens_neox': 425, 'n_words': 97}