Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   New Versions, & Updating (http://forum.bytesforall.com/forumdisplay.php?f=12)
-   -   Eliminating empty lines and spaces from HTML output? (http://forum.bytesforall.com/showthread.php?t=2417)

gesman Jul 13, 2009 01:00 PM

Eliminating empty lines and spaces from HTML output?
 
I noticed that Atahualpa's outputs HTML with lots of empty lines and spaces.
I wonder if it's possible to fix it by passing it through something like this:

Code:

$cleaned_output = preg_replace ('|\s+$|m', '', $output);
The output would be shorter, cleaner and might even rank a bit higher on Google.

Thanks,

Gleb

PS: I think your work - is the most amazing theme. Thanks for lots of effort.


All times are GMT -6. The time now is 08:38 PM.

Powered by vBulletin® Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.