Closed dave-kennedy closed 7 years ago
Example input:
<!DOCTYPE html> <!--[if IEMobile 7 ]> <html lang="en_US" class="no-js iem7"> <![endif]--> <!--[if lt IE 7]> <html class="ie6 lt-ie10 lt-ie9 lt-ie8 lt-ie7 no-js" lang="en_US"> <![endif]--> <!--[if IE 7]> <html class="ie7 lt-ie10 lt-ie9 lt-ie8 no-js" lang="en_US"> <![endif]--> <!--[if IE 8]> <html class="ie8 lt-ie10 lt-ie9 no-js" lang="en_US"> <![endif]--> <!--[if IE 9]> <html class="ie9 lt-ie10 no-js" lang="en_US"> <![endif]-->
Expected output:
Actual output:
Because the html tag is only closed once, there's a bunch of extra indentation at the end of the file.
html
Example input:
Expected output:
Actual output:
Because the
html
tag is only closed once, there's a bunch of extra indentation at the end of the file.