Geoff McLane
a4600ac5b0
Is #719 - Set 'muted' before any callback
2018-04-26 14:20:14 +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
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
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
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
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 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
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
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
e10c29bde8
Merge pull request #695 from htacg/issue-679
...
Issue 679
2018-04-13 15:25:32 +02:00
積丹尼 Dan Jacobson
a77dfb686f
Update language_en.h
...
Default: no means YES DO print out comments.
If set to YES, then DON'T print out comments.
(cherry picked from commit 95af5ad39a
)
2018-04-13 15:09:14 +02:00
Geoff McLane
d85cc8c23d
Is #709 - Improve message if 'implict'
2018-04-06 14:48:26 +02:00
Doron Behar
6636602260
Make global attribute dir
accept auto as well.
2018-04-04 13:29:30 +03:00
Geoff McLane
3c386809a7
Is #700 - change script parsing if in html5 mode
2018-03-23 20:08:54 +01:00
Geoff McLane
e36df3b4cd
Is #697 - Add NOWRAP to print of pre tag
2018-03-20 19:52:35 +01:00
Geoff McLane
db02d4504b
Is #686 - Add attr COLOR to W3CAttrsFor_LINK
2018-03-08 18:10:23 +01:00
Geoff McLane
ea4ae0dd13
Is #679 - some fixes for -export-config
2018-02-19 03:21:04 +01:00
Geoff McLane
67eaeb6d18
Is #673 - Revert 350f7b4
and 86e62db
...
While these look like a code cleanup, they appear to have an adverse
consequence in the use of libtidy by PHP 7+, so have been reverted.
modified: src/config.c
modified: src/config.h
modified: src/tidylib.c
2018-02-14 18:54:01 +01:00
Geoff McLane
1f22358a57
Merge pull request #664 from htacg/issue-663
...
Issue 663 - fixes for Haiku port - closes #663
2018-01-01 18:28:05 +01:00
Geoff McLane
1db2208106
Merge pull request #662 from htacg/issue-655
...
Issue #655 - Fix unsafe use of output buffer as input param - closes #655
2018-01-01 18:22:57 +01:00
Geoff McLane
28be79db50
Is #663 - Reduce static alloc to as required
2017-12-25 18:10:29 +01:00
Geoff McLane
ccde058772
Is #663 - Open context for gcc 2.95 port
2017-12-25 03:26:53 +01:00
Geoff McLane
a33520ad85
Is #663 - Add language limit for 'Haiku' gcc 2.95
2017-12-25 03:25:29 +01:00
Geoff McLane
7af9e1843b
Is #663 - Remove UTF-8 BOM from 6 lang. headers
2017-12-23 18:28:32 +01:00
Geoff McLane
7f9e02b2fb
Is #663 - Small change for MSVC10
2017-12-23 17:36:05 +01:00
Geoff McLane
629843401d
Issue #655 - Fix unsafe use of output buffer as input param
2017-12-16 21:10:04 +01:00
Geoff McLane
a0414d65a6
Issue #656 - protect against NULL node set in loop
2017-12-16 20:54:29 +01:00
Jim Derry
2cc140355d
Changed iterator internal logic to use a one-based index instead of 0; an
...
index of 0 can be considered NULL.
2017-11-22 12:33:12 -05:00
Geoff McLane
d23e22589e
Issue #403 PR #641 - Hot fix for column tabs count
2017-11-22 15:00:14 +01:00
Jim Derry
1f1d0a525a
Fixed missing closing tag preventing man build. No version bump.
2017-11-20 09:53:27 -05:00
Jim Derry
6d6eb3797b
Merge remote-tracking branch 'origin/keep-tabs' into complete_callbacks
2017-11-20 09:31:44 -05:00
Jim Derry
9eadf3078e
Merge remote-tracking branch 'origin/issue-643' into complete_callbacks
2017-11-20 09:29:16 -05:00
Jim Derry
314690ad7f
Option changed callback now implemented.
2017-11-20 09:27:59 -05:00
Jim Derry
fcd4e90ea7
Fix issue where console app and API can't set an FPI for a doctype without
...
providing a quoted string. This is especially painful in a terminal, which
requires escaping quotes. Since all FPI's must start with + or -, this fixes
the issue.
2017-11-19 12:54:08 -05:00
Jim Derry
ae20af4181
Added a new tidyOptionIsList() API service.
2017-11-19 12:02:24 -05:00
Jim Derry
b342232378
Fixed logical issue with new iterators.
2017-11-19 11:02:13 -05:00
Jim Derry
8ddc0105f9
Add missing iterators for recently added options mute and priority attributes.
2017-11-19 10:21:46 -05:00
Jim Derry
7105dbe0ee
Cosmetic update for doxygen.
2017-11-17 22:00:29 -05:00
Jim Derry
b2d3bab9d1
Doxygen fixes for previous.
2017-11-17 21:55:46 -05:00
Jim Derry
7598d9d0a1
Added internal documentation to parser.h.
2017-11-17 21:51:35 -05:00
Jim Derry
2957cb135b
Moved orphans from attrapi.c to tidy.c; eliminate attrapi.c. This only affects internal binary representation, but there's not API change, so no version bump.
2017-11-17 21:39:30 -05:00
Jim Derry
e7bacf2245
Allow all parsers to accept NULLSTR input for API consistency.
2017-11-17 21:30:19 -05:00
Jim Derry
fec21eebba
Merge branch 'next' into fix_doctype_option
2017-11-17 19:17:14 -05:00
Jim Derry
1dd85ad1c6
Restore alphabetical order to the options enums and structure. No version bump.
2017-11-17 19:16:58 -05:00
Geoff McLane
cea9a465f3
Issue #643 - Fix HTMLVersion function back to what it was!
2017-11-17 14:47:24 +01:00
Jim Derry
e6c891ea00
Doctype made no sense! It was a write-only property in some cases, and uses
...
itself and DoctypeMode to make up for Tidy's ability to store only a single
value for an option. It's a little bit special relative to every single other
option, in that it's declared as a string, but also has a picklist. This change
makes Doctype behave in the way every other Tidy option behaves, and treats
Doctype as a string, but also supports selection via the picklist.
2017-11-17 08:11:22 -05:00
Geoff McLane
a820ff5897
Issue #643 - Add VERS_HTML5 to VERS_FROM40
2017-11-17 02:52:32 +01:00
Geoff McLane
6a3e3fae77
Issue #643 - Only break lookup if 'code' AND 'version' found.
2017-11-17 02:46:14 +01:00