'KnpSnappy and CKditor : how to allow bold tags to my pdf?

I'm working in Symfony with Ckeditor to write some content, and I use KnpSnappy to convert them as a PDF file. My issue is when I use tags like bold or italic to my text, I can't see it to my pdf. There is an option to allows tag to KnpSnappy ?

Update : solved, It was because of the option striptags, I removed it and it fixed my issue :

<p>{{ annonce.contactAdresse|striptags|replace({'&nbsp;':''})|raw }}</p>



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source