This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Compatibility with other extensions

sourceopt (v1.0.0)


You need to rely on the trimScript = true default. If you don't trim a script, sourceopt may change it to a one line script, and because of that the hash won't match. If the script runs through the trimScript method, it will work even with sourceopt.formatHtml = 1 (which means basically a one-line-html output)


If you activate the admin panel the extension will turn off the restrictions for the script-src since admin panel using eval and inline JavaScripts and effects only the logged in backend admin.