mazdik / ng-modal

Angular resizable and draggable modal component
https://mazdik.github.io/ng-modal/
82 stars 43 forks source link

strange transparency for sanitized html #15

Open xsisec opened 4 years ago

xsisec commented 4 years ago

Hi Dear Mazdik,

I have created data through ckeditor2 content in through firebase. there is no div style tags in the saved html.

unfortunately somehow the modal is displaying transparaceny for the content:

image

image

this is the code for the content:

<p>this is some html blablablabla&nbsp;</p><p>&nbsp;</p><p>asdjaisdjosidjasodjojojjjo</p><p>&nbsp;</p><ul> <li>ajsidiajsdaosjid</li> <li>asdasdjaoidsj</li> <li>asjdaosdj</li> <li>ajsidiasjdooji</li></ul><p><img alt="" src="https://image.shutterstock.com/image-photo/dangerous-hooded-hacker-breaks-into-260nw-680075002.jpg" style="height:280px; width:463px" /></p>

image

this is the html for the modal:

image

below is css: image

I have tried to fork your project also just implement fetch data service to display sanitized html, its the same behavior.