I am trying to serve a simple site that was done with bootstrap and some plugins.
I uploaded all the static files but dropping them in the document library.
When I View in the browser I notice the <script> elements were missing.
Why would Alfresco alter my content without even warning me?
How do I disable this removal?
Alfresco never alters any content unless you add code to do that for you.
In the case of HTML, try downloading the HTML file and looking at it instead of using "View in Browser".
I think you'll find that when you use "View in Browse" the script elements are stripped, but when you download the file, you get the file exactly as it was uploaded.
Jeff
Ok, so when I download the file the script tags are still there.
Does this mean if someone uses web editor the tags will be removed?
Another question: I might be a total idiot but which URL do I use when I just want alfresco to serve the specific site content?
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.