Commit graph

1505 commits

Author SHA1 Message Date
Eric 572538c6d7 Update clean.c
Protect against NULL in PruneSetion.
 A Null node happens when pruning unbalanced <![if ...]> <![endif]>.
2019-12-17 15:25:58 -05:00
Geoff McLane d1b906991a PR #825 #829 - Bump to 5.7.28 for doc fix 'LocalMap' to 'LocaleMap' 2019-07-08 20:52:14 +02:00
Geoff McLane cd21bb30ad
Merge pull request #829 from MrSorcus/patch-0
PR #825 #829 - Fix docs - "tidyLocalMapItem" to "tidyLocaleMapItem"
2019-07-08 20:48:57 +02:00
Geoff McLane 8ef80736a1 Is. #773 PR #823 - Bump to 5.7.27 for this fix 2019-06-07 20:54:13 +02:00
Geoff McLane e59a18decd
Merge pull request #823 from naveedpash/issue-773
PR #823 - added OS __ANDROID__ in tidyplatform.h - closes #773
2019-06-07 20:52:07 +02:00
Geoff McLane a067cc81d0 Is. #791 PR #809 - Bump to 5.7.26 for this fix 2019-06-07 20:35:52 +02:00
Geoff McLane dcf56a18ca
Merge pull request #809 from htacg/issue-791
Pr #809 - free some -xml-help allocations in tidy.c - closes #791
2019-06-07 20:31:47 +02:00
Geoff McLane d7b58cfba7 PR #793 - Bump to 5.7.25 for this small docs fix 2019-05-31 20:11:30 +02:00
Geoff McLane 654d00a7e8
Merge pull request #793 from SConaway/patch-1
Update BRANCHES.md
2019-05-31 20:08:46 +02:00
Sorcus 43901812fd Change "tidyLocalMapItem" to "tidyLocaleMapItem" 2019-05-25 13:06:54 +00:00
Naveed Aman Pasha 8fc8f745ec added OS __ANDROID__ to tidyplatform.h 2019-05-08 12:08:03 +05:00
Geoff McLane 0873d74f8e Is. #781, PR #782 - Bump to 5.7.24, for nl -h removal 2019-03-30 01:03:45 +01:00
Geoff McLane f7621d92fb
Merge pull request #782 from Lin-Buo-Ren/patch/fix-redundant-blank-lines-in-help
PR #782 - Drop redundant blank lines in -help - closes #781
2019-03-30 00:56:30 +01:00
Geoff McLane c80daabc4a PR #769 - Dump to 5.7.23, add 'data' tag - closes #649 2019-03-21 20:33:05 +01:00
Geoff McLane a71031f9e5
Merge pull request #769 from AntoniosHadji/issue-649
Issue #649 adding 'data' tag
2019-03-21 20:28:26 +01:00
Geoff McLane d51afe033e Switch 32-bit build to 'next' 2019-03-20 15:39:36 +01:00
Geoff McLane 68a29fb3e4 Is #797 - Bump to 5.7.21 for this fix - closes #797 2019-01-31 20:03:51 +01:00
Geoff McLane e46435fb29 Is #797 - use 'TidyRealloc' in place of raw 'realloc' 2019-01-31 20:01:02 +01:00
Geoff McLane 4b6849909d Is #752, PR #764 - Bump to 5.7.21 for this merge 2019-01-31 19:16:37 +01:00
Geoff McLane 273c25dd38
Merge pull request #764 from htacg/issue-752
Issue #752, and other items
2019-01-31 19:13:14 +01:00
Steven Conaway 492ac957e5
Update BRANCHES.md 2019-01-16 18:38:00 -08:00
Geoff McLane 0457fff59e Is. #746 PR #747 - Bump to 5.7.20 for this fix 2019-01-14 19:51:27 +01:00
Geoff McLane 68c70ae53a Is. #746 PR #747 - fix other dup 'const' modifier 2019-01-14 19:46:10 +01:00
Geoff McLane e91a1bb84e
Is. #746 - Merge PR #747 from drizt/extra-const
Fix extra const modifier
2019-01-14 19:36:19 +01:00
Geoff McLane c7d6b7c3e8 PR #762 - bump to 5.7.19 for BUILD.md fix 2019-01-12 14:59:55 +01:00
Geoff McLane be14e18e64
Merge pull request #762 from cmb69/php-build-docs
PR #762 - docs BUILD.md - PHP ≥ 7.1.0 recognizes tidy-html5
2019-01-12 14:55:52 +01:00
Geoff R. McLane 1d74ed8f27 Is. #791 - free some allocations 2019-01-09 20:55:33 +01:00
Geoff McLane 9b7205124b Is. #783 #770 #780 - Bump to 5.7.18 for this change 2019-01-08 14:54:13 +01:00
Geoff McLane 937d67c313 Is. #770 #780 maybe #790 - remove 'setlocal' from lib! 2019-01-08 14:52:13 +01:00
Geoff McLane f53ee9db90
Merge pull request #785 from Lin-Buo-Ren/patch/fix-i18n-locale-detection
Is. #783 PR #785 - Fix language detection
2019-01-08 14:41:54 +01:00
林博仁(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