* lib/edit.indent.rc: Use tidy to format HTML.

From David Martin <dmartina@excite.com>
This commit is contained in:
Pavel Roskin 2002-08-24 18:09:45 +00:00
parent d40f336c24
commit 723739afc8
2 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2002-08-24 Pavel Roskin <proski@gnu.org> 2002-08-24 Pavel Roskin <proski@gnu.org>
* lib/edit.indent.rc: Use tidy to format HTML.
From David Martin <dmartina@excite.com>
* lib/cedit.menu: Remove all references to the error file. * lib/cedit.menu: Remove all references to the error file.
* lib/edit.indent.rc: Likewise. * lib/edit.indent.rc: Likewise.
* lib/edit.spell.rc: Likewise. * lib/edit.spell.rc: Likewise.

View File

@ -19,6 +19,10 @@ case `echo $1 |sed 's/^.*\.//'` in
# http://astyle.sourceforge.net/ # http://astyle.sourceforge.net/
astyle --style=java --mode=java "$2" 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 #ftp://alpha.gnu.org/gnu/fetish/textutils-2.0.tar.gz
fmt "$2" >"$2.tmp" && rm -f "$2" && mv -f "$2.tmp" "$2" fmt "$2" >"$2.tmp" && rm -f "$2" && mv -f "$2.tmp" "$2"