mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
* lib/edit.indent.rc: Use tidy to format HTML.
From David Martin <dmartina@excite.com>
This commit is contained in:
parent
d40f336c24
commit
723739afc8
@ -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.
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user