Title: empty space
Last modified: March 19, 2025

---

# empty space

 *  Resolved [dolceremy](https://wordpress.org/support/users/centoasa/)
 * (@centoasa)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/empty-space-8/)
 * if I enable this plugin, instead of embed I’ve an empty space, an empty space
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fempty-space-8%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 14 replies - 1 through 14 (of 14 total)

 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/empty-space-8/#post-18370701)
 * Can you share the URL where I can see the issue? I’m guessing there is a conflict
   with the lazy-load functionality.
 *  Thread Starter [dolceremy](https://wordpress.org/support/users/centoasa/)
 * (@centoasa)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/empty-space-8/#post-18370706)
 * [https://www.eugenioruberto.it/la-parola-del-19-marzo-2025/](https://www.eugenioruberto.it/la-parola-del-19-marzo-2025/)
 * (now I’ve perfmatters plugin activated, maybe it?)
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/empty-space-8/#post-18370719)
 * I see your site is using Perfmatters and that you have the “[delayed scripts](https://perfmatters.io/docs/delay-javascript/#delay-javascript)”
   functionality enabled.
 * You need to make sure you don’t delay `lazy-load.min.js` which is [output](https://github.com/WordPress/performance/blob/69b7a148396a41c58e15cba65cf64ccacbe20c7d/plugins/embed-optimizer/class-embed-optimizer-tag-visitor.php#L331)
   as an inline script module.
 * This also goes for Optimization Detective’s logic which is also [output](https://github.com/WordPress/performance/blob/69b7a148396a41c58e15cba65cf64ccacbe20c7d/plugins/optimization-detective/detection.php#L151-L158)
   as an inline script module.
 * We have an [open issue](https://github.com/WordPress/performance/issues/1890)
   to reach out to Perfmatters and WP Rocket to get them to not delay these scripts(
   assuming they have a denylist). If you can identify whether the issue is due 
   to Perfmatters delaying the script that will be helpful.
 *  Thread Starter [dolceremy](https://wordpress.org/support/users/centoasa/)
 * (@centoasa)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/empty-space-8/#post-18370722)
 * I’m trying to disable Perfmatters plugin …
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/empty-space-8/#post-18370727)
 * I’m looking at the page source and I’m not seeing anything from Embed Optimizer’s
   [lazy-load.js](https://github.com/WordPress/performance/blob/trunk/plugins/embed-optimizer/lazy-load.js).
   Namely, I would expect to see `application/vnd.embed-optimizer.javascript` appear
   somewhere, but I don’t.
 * If you deactivate Perfmatters does this fix the problem?
 *  Thread Starter [dolceremy](https://wordpress.org/support/users/centoasa/)
 * (@centoasa)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/empty-space-8/#post-18370735)
 * perfmatters unistalled, and cache fully cleared
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/empty-space-8/#post-18370737)
 * I’m looking at the page now and I do see the Embed block, but I’m seeing something
   very strange where the HTML is corrupted.
 *  Thread Starter [dolceremy](https://wordpress.org/support/users/centoasa/)
 * (@centoasa)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/empty-space-8/#post-18370747)
 * where there isn’t the embed, the right column show well
 * [https://www.eugenioruberto.it/la-magia-del-centro-commerciale/](https://www.eugenioruberto.it/la-magia-del-centro-commerciale/)
 * where there’s embed, right column disappear!
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/empty-space-8/#post-18370755)
 * Yes, I see that something is corrupting the markup of the Embed block. There 
   is no closing `</figure>` tag, for example. And there is some script that is 
   getting injected into a data attribute used by Optimization Detective:
 *     ```wp-block-code
       <figure class="wp-block-embed is-type-wp-embed is-provider-eugenio-ruberto wp-block-embed-eugenio-ruberto">  <div data-od-xpath="/HTML/BODY/DIV[@class='chariti-body-outer-wrapper '] !function(d,l){&quot;use strict&quot;;l.querySelector&amp;&amp;d.addEventListener&amp;&amp;&quot;undefined&quot;!=typeof URL&amp;&amp;(d.wp=d.wp||{},d.wp.receiveEmbedMessage||(d.wp.receiveEmbedMessage=function(e){var t=e.data;if((t||t.secret||t.message||t.value)&amp;&amp;!/[^a-zA-Z0-9]/.test(t.secret)){for(var s,r,n,a=l.querySelectorAll('iframe[data-secret=&quot;'+t.secret+'&quot;]'),o=l.querySelectorAll('blockquote[data-secret=&quot;'+t.secret+'&quot;]'),c=new RegExp(&quot;^https?:$&quot;,&quot;i&quot;),i=0;i&lt;o.length;i++)o[i].style.display=&quot;none&quot;;for(i=0;i&lt;a.length;i++)s=a[i],e.source===s.contentWindow&amp;&amp;(s.removeAttribute(&quot;style&quot;),&quot;height&quot;===t.message?(1e3&lt;(r=parseInt(t.value,10))?r=1e3:~~r&lt;200&amp;&amp;(r=200),s.height=r):&quot;link&quot;===t.message&amp;&amp;(r=new URL(s.getAttribute(&quot;src&quot;)),n=new URL(t.value),c.test(n.protocol))&amp;&amp;n.host===r.host&amp;&amp;l.activeElement===s&amp;&amp;(d.top.location.href=t.value))}},d.addEventListener(&quot;message&quot;,d.wp.receiveEmbedMessage,!1),l.addEventListener(&quot;DOMContentLoaded&quot;,function(){for(var e,t,s=l.querySelectorAll(&quot;iframe.wp-embedded-content&quot;),r=0;r&lt;s.length;r++)(t=(e=s[r]).getAttribute(&quot;data-secret&quot;))||(t=Math.random().toString(36).substring(2,12),e.src+=&quot;#?secret=&quot;+t,e.setAttribute(&quot;data-secret&quot;,t)),e.contentWindow.postMessage({message:&quot;ready&quot;,secret:t},&quot;*&quot;)},!1)))}(window,document); &lt;/script&gt; ' title="Codice da incorporare" class="input-embed input-embed-251480" readonly/> </div> <button class="copy-embed copy-embed-251480" title="Copia codice da incorporare" aria-label="Copia codice da incorporare"></button> </div> </div> </div> </div> <div class="podcast_meta"><aside>
       ```
   
    -  This reply was modified 1 year, 7 months ago by [Weston Ruter](https://wordpress.org/support/users/westonruter/).
 *  Thread Starter [dolceremy](https://wordpress.org/support/users/centoasa/)
 * (@centoasa)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/empty-space-8/#post-18370765)
 * I have almost the same problem with [Image Prioritizer](https://wordpress.org/support/plugin/image-prioritizer/)(
   see my post [https://wordpress.org/support/topic/blank-page-328/](https://wordpress.org/support/topic/blank-page-328/))
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/empty-space-8/#post-18370774)
 * Yes, because they both depend on Optimization Detective. Can you share the URL
   for where I can see the problem with Image Prioritizer?
 *  Thread Starter [dolceremy](https://wordpress.org/support/users/centoasa/)
 * (@centoasa)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/empty-space-8/#post-18370785)
 * if I enable image prioritizer, my blog is fully blank! (I’m on chat for fast 
   testing)
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/empty-space-8/#post-18370787)
 * Are you on WordPress Slack? You can DM me there.
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/empty-space-8/#post-18370931)
 * We discovered the issue was with Aruba HiSpeed Cache’s HTML Optimizer. It is 
   using regular expressions to attempt to strip out JS and CSS multi-line comments
   which results in a corrupted page. I’ve reported this in a [support topic](https://wordpress.org/support/topic/html-optimizer-corrupts-output/).

Viewing 14 replies - 1 through 14 (of 14 total)

 The topic ‘empty space’ is closed to new replies.

 * ![](https://ps.w.org/embed-optimizer/assets/icon.svg?rev=3098223)
 * [Embed Optimizer](https://wordpress.org/plugins/embed-optimizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/embed-optimizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/embed-optimizer/)
 * [Active Topics](https://wordpress.org/support/plugin/embed-optimizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/embed-optimizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/embed-optimizer/reviews/)

 * 14 replies
 * 2 participants
 * Last reply from: [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * Last activity: [1 year, 7 months ago](https://wordpress.org/support/topic/empty-space-8/#post-18370931)
 * Status: resolved