Hello
We're using Confluence's tomcat engine to serve generated static web content as described in the following article:
https://confluence.atlassian.com/confkb/how-to-use-confluence-to-serve-static-content-677282407.html
I'm well aware that this feature is not covered by your support, as it primarily concerns tomcat rather than confluence. However our problem is NOT with tomcat, but with confluence:
Contrary to what is mentioned in above article Confluence indeed does apply it's style to the static content. The HTML Files are NOT rendered as is, in fact the custom style sheet in the original head-tag gets replaced by the one from Confluence and the actual content does not format properly.
We found a workaround for that issue by including a second stylesheet desclaration in the body rather than the head, but starting with Confluence 5.9.9. matters got even worse. When using Chrome 53.x the html document get's completely scrambled, instead of one we have now three html tags etc.
Is there a way to make sure Confluence does not tamper in any way with the html documents, so that tomcat can deliver them exactly as they were generated? As mentioned this is supposed to be the case according to your know-how article, but that is clearly not what's happening.
BTW rendering the static content locally without involving Confluence works as expected, there is nothing wrong with the generated HTML code (in our cases generated by Taskjuggler).
Best regards
Daniel