Commit graph

1575 commits

Author SHA1 Message Date
林博仁(Buo-ren Lin) 88b99acdd6 Is. #783 - Fix language detection
The `setlocale` call doesn't return a single locale name in glibc when
any of the locale category variable has a different value, instead it
returns a composite locale name which is a concatenation of the entire
list of locale name and its values, causing the language detection fail.

This patch attempts to set the language via LC_MESSAGES and LANG
environment variables which are commonly used in POSIX-like systems,
then fallbacks to `setlocale` as the last resort.
2018-12-03 22:21:14 +08:00
林博仁(Buo-ren, Lin) edc70c52be Is. #781 - Drop redundant blank lines in -help
Fixes #781.
2018-11-29 16:59:43 +08:00
Geoff McLane c6f194608f Is #726 PR #731 - Bump to 5.7.17 for this merge 2018-11-17 18:23:45 +01:00
Geoff McLane 75dd3a03f2
Merge pull request #731 from htacg/issue-726
Issue 726 upper case anchors
2018-11-17 18:20:07 +01:00
Antonios Hadjigeorgalis 5d4e46b333 Issue#649: added <data> tag
<time> tag used as model for adding <data> tag
2018-11-06 20:54:36 -05:00
Christoph M. Becker ff9550d74f PHP ≥ 7.1.0 recognizes tidy-html5
Cf. php/php-src@a552ac5bd5, which is
available as of PHP 7.1.0.
2018-10-15 15:25:39 +02:00
Geoff McLane b399903c84
Merge pull request #753 from Lin-Buo-Ren/patch-1
Is #752 - fix typo - tks
2018-09-06 00:50:13 +02:00
林博仁(Buo-ren Lin) 3e6a53f77e
Fix typo
Signed-off-by: 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
2018-09-05 23:26:52 +08:00
Geoff McLane 65c982f73e Is #752 - Replace _MSC_VER with _WIN32 2018-09-04 20:22:56 +02:00
Geoff McLane 840b3f9c1e Is #752 - Slightly enhance the API doxy docs 2018-09-04 20:21:48 +02:00
Geoff McLane 4ba6106057 Is #752 - Chg TC_MAIN_ERROR_LOAD_CONFIG to 'problems' 2018-09-04 20:20:14 +02:00
Geoff McLane 8c3ef4b6e2 Is #752 - Try STRING_MUTING_TYPE to TidyInfo 2018-09-04 20:17:55 +02:00
Geoff McLane ed8723c589 Is #741 - Elim. dup 2018-09-02 20:53:36 +02:00
Geoff McLane b697e48f16 Is #741 - add RELEASE.md document 2018-09-02 20:09:09 +02:00
Geoff McLane 94e62b24ff Is #752 - Add windows tilde expansion 2018-09-02 20:07:11 +02:00
Ivan Romanov 06e786fdf6 Fix extra const modifier
Fix #746
2018-08-20 12:09:58 +05:00
Geoff McLane dc28b3487d Merge branch 'issue-726' of github.com:htacg/tidy-html5 into issue-726 2018-05-01 19:29:13 +02:00
Geoff McLane cb23ab0372 Is #726 #185 - HTML5 is case sensitive for anchors.
modified:   src/attrs.c
2018-05-01 19:28:49 +02:00
ler762 86b52dc108 Is #718 PR #727 - Update to CONTRIBUTING.md.2.txt
Modified README/CONTRIBUTING.md
2018-05-01 14:57:48 +02:00
Geoff McLane 5f7e367cb5 Is #718 #726 - Bump to 5.7.16 for this docs update 2018-04-27 15:33:51 +02:00
Geoff McLane b952e65300 Is #718 #726 - Some updates of CONTRIBUTING.md 2018-04-27 15:33:17 +02:00
Geoff McLane 68e6b3c20e Is #726 #185 - HTML5 is case sensitive for anchors.
modified:   src/attrs.c
2018-04-26 19:00:06 +02:00
Geoff McLane 23429b1b77 Is #719 - Bump to 5.7.15 for 'muted' callback fix 2018-04-26 14:22:55 +02:00
Geoff McLane a4600ac5b0 Is #719 - Set 'muted' before any callback 2018-04-26 14:20:14 +02:00
Geoff McLane 0606b0201a Is #721 PR #722 - Bump to 5.7.14 for this merge 2018-04-24 18:32:51 +02:00
Geoff McLane ddc68b4b71
Merge pull request #722 from htacg/issue-721
Is #721 - cast away some gcc warnings - PR #722
2018-04-24 18:30:35 +02:00
Geoff McLane afcea7c920 Is #713 - show-filename to errout when no warnings 2018-04-24 15:15:23 +02:00
Geoff McLane c8d3b4a8fb Is #713 PR #717 - Bump to 5.7.13 for this merge 2018-04-24 14:46:16 +02:00
Geoff McLane 9b076d0eca
Merge pull request #717 from ler762/doc-nits
Is #713 - Doc nits - PR #717
2018-04-24 14:41:24 +02:00
Geoff McLane ca4c991858 Is #709 PR #714 - bump to 5.7.12 for this merge 2018-04-23 19:15:38 +02:00
Geoff McLane a95c82df7f
Merge pull request #714 from htacg/issue-709
Is #709 - Improve message if 'implicit' - PR #714
2018-04-23 19:12:59 +02:00
Geoff McLane aa800c9482 PR #712 - Bump to 5.7.11 for this merge, and fix 2018-04-23 19:03:53 +02:00
Geoff McLane 8723681275 PR #712 - Only allow 'auto' on 'dir' for HTML5
modified:   src/attrs.c
2018-04-23 19:02:03 +02:00
Geoff McLane 3475d3e8cd
Merge pull request #712 from doronbehar/dir-auto
Make global attribute `dir` accept auto as well - PR #712
2018-04-23 18:51:17 +02:00
Geoff McLane 63071a9c40 Is 697 PR #708 - Bump to 5.7.10 for this merge 2018-04-22 14:40:38 +02:00
Geoff McLane 202ab98e10
Merge pull request #708 from htacg/issue-697-1
Is #697 - Add NOWRAP to print of pre tag - PR #708
2018-04-22 14:38:01 +02:00
Geoff McLane 45d8c1841b Is #673 Is #704 PR #705 - Bumped to 5.7.9 for this merge 2018-04-21 14:36:19 +02:00
Geoff McLane 63f507b4e9
Merge pull request #705 from htacg/issue-673
Is #673 - Revert 350f7b4 and 86e62db AdjustConfig logic - Is #704 PR #705
2018-04-21 14:28:59 +02:00
Geoff R. McLane 74fe3e0766 Is #721 - cast away some gcc warnings 2018-04-20 19:56:35 +02:00
Geoff McLane c2394db027 Is #700 PR #703 - Bump to 5.7.8 for this merge 2018-04-19 19:01:24 +02:00
Geoff McLane 6ca145a646
Merge pull request #703 from htacg/issue-700
Is #700 - change script parsing if in html5 mode - PR #703
2018-04-19 18:59:12 +02:00
Geoff McLane 121379fd56 Is #698 PR #702 - Bump to 5.7.7 for this merge 2018-04-19 14:51:56 +02:00
Geoff McLane 4ded90189f
Merge pull request #702 from htacg/issue-698
Issue #698 - docs update - PR #702
2018-04-19 14:49:52 +02:00
Geoff McLane 9e21f97daf Is #686 PR #701 - Bump to 5.7.6 for this merge 2018-04-19 13:54:47 +02:00
Geoff McLane 0263dfb6b2
Merge pull request #701 from htacg/issue-686
Is #686 - Add attr COLOR to W3CAttrsFor_LINK - PR #701
2018-04-19 13:52:10 +02:00
ler762 ac287d56bd fix spelling mistake 2018-04-13 11:29:55 -04:00
ler762 8d86ed24e9 add --show-filename option to show the input filename on output messages 2018-04-13 10:25:01 -04:00
Lee fa78a324d0 update --gnu-emacs option documentation 2018-04-13 10:01:39 -04:00
Geoff McLane 1a86dca705 Is #679 PR #695 - To 5.7.5 for this merge 2018-04-13 15:28:23 +02:00
Geoff McLane e10c29bde8
Merge pull request #695 from htacg/issue-679
Issue 679
2018-04-13 15:25:32 +02:00