Support » Plugin: Autoptimize » “Optimize HTML” is gobbling whitespace before cite tag

  • Resolved ecdltf

    (@ecdltf)


    “Optimize HTML Code” is gobbling whitespace before my cite tags.

    Example code:

    
    Bla bla <cite>Cited Name</cite> bla bla.
    

    Output:

    Bla blaCited Name bla bla. [missing whitespace befor the citation]

    Switching off Autoptimize’s “Optimize HTML Code” immediately helps.

    Or, if I remove cite from the block level elements regex in line 144 of the file <i>/autoptimize/classes/external/php/minify-html.php</i> everything is OK, too.

    (It’s also present in minify-2.1.7-html.php but it seems that this file isn’t used(?))

    Thanks for maintaining this great plugin!

    Tom

    https://wordpress.org/plugins/autoptimize/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘“Optimize HTML” is gobbling whitespace before cite tag’ is closed to new replies.