diff --git a/ChangeLog b/ChangeLog index afe986947..e25426393 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2002-08-24 Pavel Roskin + * lib/edit.indent.rc: Use tidy to format HTML. + From David Martin + * lib/cedit.menu: Remove all references to the error file. * lib/edit.indent.rc: Likewise. * lib/edit.spell.rc: Likewise. diff --git a/lib/edit.indent.rc b/lib/edit.indent.rc index cd144e6f5..24623c861 100644 --- a/lib/edit.indent.rc +++ b/lib/edit.indent.rc @@ -19,6 +19,10 @@ case `echo $1 |sed 's/^.*\.//'` in # http://astyle.sourceforge.net/ astyle --style=java --mode=java "$2" ;; + htm|html|HTM|HTML) + # http://www.w3.org/People/Raggett/tidy/ + tidy -q -m -ascii -wrap 80 "$2" + ;; *) #ftp://alpha.gnu.org/gnu/fetish/textutils-2.0.tar.gz fmt "$2" >"$2.tmp" && rm -f "$2" && mv -f "$2.tmp" "$2"