I've tried using a HTML_AREA with <iframe> and <object> but the HTML sanitizer removes the code.
- Code: Select all
Html was modified by sanitizer:
Original html: '<html><body> <object data="Image Compression for Upload.pdf" type="application/pdf"> <embed src="Image Compression for Upload.pdf" type="application/pdf" /> </object></body></html>',
Sanitized html: '<html>
<head></head>
<body>
</body>
</html>'
And trying with iframe
- Code: Select all
Html was modified by sanitizer:
Original html: '<html> <head></head><body><iframe src='Image Compression for Upload.pdf''>Sorry your browser does not support inline frames.</iframe></body></html>',
Sanitized html: '<html>
<head></head>
<body>
Sorry your browser does not support inline frames.
</body>
</html>'
What is an easy way to show a PDF in a form in a webclient?
Thanks,