i'm using TinyMCE to post new Paragraph to the website
and after posting its showing the Paragraph like this:
<p>Some text</p>
so its posting the tags as well
how to solve this problem?
-This is how i'm printing the paragraph:
<p> {{$data->subtitle}} </p>
Based on your code you are not just using regular old PHP, but rather something like a Larvel Blade template.
Often templating systems don't allow you to output HTML like that directly due to security reasons (they are trying to prevent injection attacks, you should be aware of them!!).
If it is indeed Blade, try doing
{!! $data->subtitle !!}
I was able to solve this problem by decode the string:
<?php
$str = $data->subtitle;
echo html_entity_decode($str);
?>