mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
55eb7ebdcc
This change consolidates the string replacements used to insert requirements into the page content to help ensure that they are not compounding and overwriting eachother. The added test case includes where a user may have a Javascript snippet that contains a closing head tag, and the test ensures that it does not get injected with requirements as well as the actual head tag in the DOM.