diff options
author | Alexey Zelkin <phantom@FreeBSD.org> | 2001-11-22 15:26:43 +0000 |
---|---|---|
committer | Alexey Zelkin <phantom@FreeBSD.org> | 2001-11-22 15:26:43 +0000 |
commit | 29ff18f4bd95463fe6b2fe2fc22470499aa5e710 (patch) | |
tree | 596622673e2a261cc0eb06cb32c1a7b307035bf3 /www/tidy/files/patch-ah | |
parent | Add new option '-preserve' to preserve characters entities from source file (diff) |
Add new option '-preserve' to preserve characters entities from source file
(i.e. leave them undecoded into plain characters). This feature will be utilized
by translation teams and was successfuly tested against Russian and Japanese
Translation Projects.
Also add simple hack to not to display annoying "Can't open ~/.tidyrc" warning
message in case if ~/.tidyrc file missing.
Bump PORTREVISION.
Approved by: Scott Kenney <saken@hotel.rmta.org> (maintainer)
Tested by: myself, hrs
Notes
Notes:
svn path=/head/; revision=50378
Diffstat (limited to 'www/tidy/files/patch-ah')
-rw-r--r-- | www/tidy/files/patch-ah | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/www/tidy/files/patch-ah b/www/tidy/files/patch-ah new file mode 100644 index 000000000000..f0a953e44452 --- /dev/null +++ b/www/tidy/files/patch-ah @@ -0,0 +1,11 @@ +--- tidy.c.orig Fri Aug 4 19:21:05 2000 ++++ tidy.c Mon Nov 19 14:39:50 2001 +@@ -785,6 +785,8 @@ + Quiet = yes; + else if (strcmp(arg, "slides") == 0) + BurstSlides = yes; ++ else if (strcmp(arg, "preserve") == 0) ++ PreserveEntities = yes; + else if (strcmp(arg, "help") == 0 || + argv[1][1] == '?'|| argv[1][1] == 'h') + { |