twskj / pretty-swag

Pretty UI for Swagger spec
MIT License
122 stars 20 forks source link

IE11 not able to display generated doc #36

Closed GuiF007 closed 7 years ago

GuiF007 commented 7 years ago

Hi !

It seems IE11 is not able to display the generated document.

I have a Active X script warning asking me to actived blocked content, but even if I activate blocked script, the page is always white...

Active X warning is always a pain too :/

twskj commented 7 years ago

I think it doesn't like embedded css and js. Can you try with switch -f lite ?

twskj commented 7 years ago

I'll find a root cause but for now seems like non-embedded mode works.

image

GuiF007 commented 7 years ago

I tried with -f lite, it works after I accepted Active X scripts and contents...

twskj commented 7 years ago

I adjusted the generated html a bit. It works on a few IEs I tested. Can you help me check on your side please? Just to be clear, there's no active X in my code. And not sure how to get rid of those warnings

twskj commented 7 years ago

any feed back on this?

GuiF007 commented 7 years ago

Not sure I can help you more because it was at work and I changed topic right now, and I'm on Mac at home... I think it's IE security policy issue, I was surprised to have ActiveX or script activation request too...

twskj commented 7 years ago

It's definitely IE thing. So I'll close it for now. Feel free to re-open if you still seeing the problem after after clicking on accept