• WP-Beautifier would be the perfect addition to my favorite plugins collection, but it does wrong indentation of IE conditional comments like f.e.:

    <!--[if lt IE 8 ]><html xmlns="https://www.w3.org/1999/xhtml" lang="de-AT" class="no-js ie7"><![endif]-->
    <!--[if IE 8 ]><html xmlns="https://www.w3.org/1999/xhtml" lang="de-AT" class="no-js ie8"><![endif]-->
    <!--[if IE 9 ]><html xmlns="https://www.w3.org/1999/xhtml" lang="de-AT" class="no-js ie9"><![endif]-->
    <!--[if (gt IE 9)|!(IE)]><!-->
    <html xmlns="https://www.w3.org/1999/xhtml" lang="de-AT" class="no-js">
    <!--<![endif]-->

    It indents in v 1.3.1 every single line, so that the last <html> tag gets indented by 4 tabs (or whatever rule you’ve given at indentation settings).

    Best & thanks,
    Volker E.

    https://www.ads-software.com/extend/plugins/wp-beautifier/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP-Beautifier] Wrong indention of IE conditional comments’ is closed to new replies.