=== WP-Beautifier === Contributors: tillkruess Donate link: http://wordpress.pralinenschachtel.de/donations/ Tags: clean, tidy, indent, format, source, output, html, xhtml Requires at least: 3.0 Tested up to: 3.0.1 Stable tag: 1.1 Beautifier cleans up WordPress's messy (X)HTML source code output and formats (indents) it correct. == Description == Beautifier cleans up WordPress's messy (X)HTML source code output. * Formats (X)HTML source code (corrects the line indention) * Removes empty lines * Removes unnecessary whitespace * Converts single quotes into double quotes in tag attributes * Add custom regular expressions to remove anything you want from the source code output == Installation == 1. Upload the `/wp-beautifier/` directory and its contents to `/wp-content/plugins/`. 2. Login to your WordPress installation and activate the plugin through the _Plugins_ menu. 3. If desired, refine the cleaning options in the _Settings_ menu under _Beautifier_. == Frequently Asked Questions == = When I activate the plugin, my theme breaks! = To narrow down the cause, start disabling every single option (under *Settings*->*Beautifier*) one by one and see if the problem persists. As last check, empty the *Custom regular expressions* textbox, or comment all regular expressions in it. If the problem still persists, disable the plugin and copy-paste the working generated (X)HTML source code into a txt-file, afterwards activate the plugin again and copy-paste the _broken_ (X)HTML output into another txt-file and send these two files to [the author](http://wordpress.pralinenschachtel.de/contact/) with a short description of your problem. = I see a white/blank page where my website used to be! = Try the _Reset Options_ button in the _Settings_ menu under _Beautifier_. If that doesn't help, deactivate the plugin and [contact the author](http://wordpress.pralinenschachtel.de/contact/). To get a quicker solution, include your server's PHP error-log-file to the email. == Screenshots == 1. Cleaned and nicely formatted source code. == Changelog == = 1.1 = * Renewed many functions and made the descriptions more clear. * Added the ability to convert single quotes into double quotes in html tags * Added the ability to clean the output with custom regular expressions * Prevented an infinite loop, when a html comment is not closed = 1.0 = * Initial release == Upgrade Notice == = 1.1 = This version preventes an infinite loop and provides additional cleaning functionality.