WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WP-Beautifier] Wrong indention of IE conditional comments

[Plugin: WP-Beautifier] Wrong indention of IE conditional comments

  • Volker E.
    Member

    @volker_e-1

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

    http://wordpress.org/extend/plugins/wp-beautifier/

Viewing 1 replies (of 1 total)
  • Fill in the Blank
    Participant

    @phorbidden

    I need this as well… guess I could mod the plugin myself, but I don’t want to update and it crash mys tuff… I am forgetful

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