08-12-2020 09:37 AM
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?
08-12-2020 02:19 PM
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
08-13-2020 06:36 AM
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?
Explore our Alfresco products with the links below. Use labels to filter content by product module.