• Resolved camya

    (@ecc)


    Hi,

    I’m using Autoptimize on my site to minify the HTML, CSS, and JS. If I use the “Syntax-highlighting Code Block”, Autoptimize leaves an unreplaced %MINIFYHTML% placeholder inside the code block on the website’s frontend.

    Never saw this before in any other block. I’m not sure, if this has to be fixed in your plugin or in the Autoptimize plugin.

    It looks like %MINIFYHTML43903717bc81998ee44729dd57469a6617%

    <pre class="wp-block-code">
      %MINIFYHTML43903717bc81998ee44729dd57469a6617%
      <div>
        <code class="hljs language-apache shcb-code-table shcb-line-numbers shcb-wrap-lines"><span class="shcb-loc"><span><span class="hljs-attribute"><span class="hljs-nomarkup">RewriteEngine</span></span> <span class="hljs-literal">On</span>
    </span></span>
        </code>
      </div>
    </pre>

    Link to Autoptimize: https://wordpress.org/plugins/autoptimize/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Autoptimize leaves “%MINIFYHTML%” placeholder in Code Block.’ is closed to new replies.