Reputation: 93
for database i add text with html, for example:
<i>test test </i> <strong>test test</strong>
in template i use $text->getBody()->getRawValue() and i have formatted text:
test test test test
if i use only $text->getBody() then i have in template:
<i>test test </i> <strong>test test</strong>
how can i render text without getRawValue(), but i would like him without html tags strong, i etc. :
test test test test
Upvotes: 0
Views: 1344