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¶
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)