clean_up_html_markup_with_tidy_and_perl
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
clean_up_html_markup_with_tidy_and_perl [2008/12/05 21:39] – created juckins | clean_up_html_markup_with_tidy_and_perl [2025/03/20 20:11] (current) – juckins | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ==== HTML Tidy ==== | ||
+ | |||
Download and install Tidy. | Download and install Tidy. | ||
Line 14: | Line 16: | ||
Make sure to make a backup copy of the file first. | Make sure to make a backup copy of the file first. | ||
+ | Now remove blank lines from the resulting cleaned-up code using perl: | ||
+ | < | ||
+ | perl -pi -e " | ||
+ | </ |
clean_up_html_markup_with_tidy_and_perl.1228531192.txt.gz · Last modified: by juckins