[ad_1]
I’m trying to resolve an issue where embeds from a particular service are breaking on a site hosted on SG. If I disable the js combination feature of SG Optimizer, the embeds render without issue.
I found the insgo_javascript_combine_excluded_inline_content filter in other posts, but the documentation just says that I should add the “first few symbols of inline content script” to the exclude list.
I’m unsure of what that means. This embed code begins with an HTML comment, followed by a <script> tag, followed by a line break, whitespace, and then some actual js.
Do I include the <script> tag in the value I add to the exclude list? Or the whitespace? I’ve tried a few permutations of this, and it hasn’t worked for me yet.
