Commit graph

130 commits

Author SHA1 Message Date
Jim Derry b8608380a2 Add support for 'role' attribute. #115 2014-11-22 20:44:38 +08:00
Jim Derry 08d490f406 Print end tag for self-closing tag #113 2014-11-22 20:08:00 +08:00
Jim Derry edb185a308 Use a hash table for anchors #64 2014-11-22 19:39:06 +08:00
Jim Derry 9a0b05cb69 Added HTML Microdata (itemprop, etc.) support. 2014-11-22 19:32:30 +08:00
Jim Derry 7754802884 Updated Aria attributes to geoffmcl's added tags; added missing aria-orientation. 2014-11-22 17:39:17 +08:00
Jim Derry e4f7aa0748 Merged changes from andrewle, #96, support Aria attributes. 2014-11-22 17:38:22 +08:00
Jim Derry e279302eaf Added TidyReportFilter2 2014-11-22 15:43:11 +08:00
Jim Derry 6aaf826476 Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
Jim Derry 3bcf49cfde Preserve for both filters. 2014-04-27 18:16:13 +08:00
Jim Derry f3cc89d234 Correctly use a copy of args so both filters can work. 2014-04-27 18:11:50 +08:00
Jim Derry 5786a5afb5 Implement TidyReportFilter2 using raw strings to support library localization. 2014-04-27 16:07:20 +08:00
Eberhard Beilharz 3d4c4021ae Print end tag for self-closing tag
When we output HTML5 and we encounter a self-closing tag we have to
output an end tag to be standard conform.

This fixes issue #111.
2014-01-09 17:38:41 +01:00
Andrew Le 27d8ca6a69 Add support for aria attributes
Reference: http://dev.w3.org/html5/markup/aria/aria.html#aria-attrs-all
2013-06-28 16:50:54 -07:00
Michael[tm] Smith 0cf6d99843 Merge branch 'master' of github.com:w3c/tidy-html5 2012-08-21 20:37:24 +09:00
Michael[tm] Smith f53193f136 Whitespace change please ignore. 2012-08-21 20:36:34 +09:00
Peter Kelly 7fc3255542 Applied hash table optimisation to RemoveAnchorByNode. This function now takes
the anchor name as a parameter, so it can look in the correct bin.

In the case of FreeAttrs, we have the name already (since we found a name or
id attribute). In the case of FixAnchors, the anchor name could come from
either the name or id attribute, so we call the function separately for each
case, passing the appropriate attribute value.
2012-08-20 10:06:30 +07:00
Peter Kelly 11a8648818 Use a hash table for anchors 2012-08-20 00:29:16 +07:00
Andy Lester 76c2b57fa6 Merge pull request #60 from craigbarnes/cvsclean
Remove CVS info blocks
2012-08-08 09:41:04 -07:00
Craig Barnes ce27a729dc Remove CVS info blocks 2012-08-08 17:27:29 +01:00
Michael[tm] Smith 1b4dcd0e43 Update version. 2012-07-21 14:23:38 +09:00
Michael[tm] Smith c63cc3924b Allow block content in address. Fixes #55.
Thanks Craig Barnes.
2012-07-21 14:17:13 +09:00
Michael[tm] Smith fad2769449 Minor cleanup. 2012-07-21 13:37:07 +09:00
Michael[tm] Smith 08c12634e9 Merge pull request #57 from johnweldon/master
Better MSVC 2010 fix for CleanGoogleDocument unresolved externals.
2012-07-20 21:33:19 -07:00
John Weldon 46e8e9d254 Better fix than 0d41d42, the gdoc.(c|h) files weren't included in the msvc2010 project 2012-07-12 10:41:05 -07:00
John Weldon 379a54c49d Merge branch 'master' of https://github.com/w3c/tidy-html5 2012-07-12 10:18:55 -07:00
John Weldon 79439b0b9e more msvc ignores
Signed-off-by: Michael[tm] Smith <mike@w3.org>
2012-07-06 15:48:50 +09:00
Michael[tm] Smith b5d8088cf5 Merge branch 'master' of github.com:w3c/tidy-html5 2012-07-06 15:47:52 +09:00
John Weldon 0d41d4247e Fix tidylib.obj : error LNK2019: unresolved external symbol _prvTidyCleanGoogleDocument referenced in function _tidyDocCleanAndRepair
Signed-off-by: Michael[tm] Smith <mike@w3.org>
2012-07-06 15:47:24 +09:00
Michael[tm] Smith cd0eff4562 Merge pull request #52 from craigbarnes/master
Fix for autotools build
2012-07-05 23:36:54 -07:00
Craig Barnes 7311bbef48 Fix autotools build 2012-07-06 03:05:46 +01:00
Michael[tm] Smith d3440ed9f7 Regenerated quickref. 2012-07-04 16:38:17 +09:00
Michael[tm] Smith 6ef8d92b0f Bring docs up to date with code. Fixes #41.
Thanks ralfjunker.
2012-07-04 16:35:34 +09:00
John Weldon ca623c9116 more msvc ignores 2012-07-03 12:11:26 -07:00
John Weldon 046a40da34 Fix tidylib.obj : error LNK2019: unresolved external symbol _prvTidyCleanGoogleDocument referenced in function _tidyDocCleanAndRepair 2012-07-03 12:10:53 -07:00
Michael[tm] Smith a61504c57a Merge pull request #40 from stevenle/master
Remove WbrToSpace from being cleaned
2012-06-26 20:01:02 -07:00
Steven Le d942983fb0 Remove WbrToSpace since <wbr> is HTML5 valid. 2012-06-22 10:35:43 -07:00
Michael[tm] Smith 5220d8fe2e Minor quickref formatting problem. 2012-06-20 17:08:44 +09:00
Michael[tm] Smith 68a9e741a1 Merge pull request #39 from stevenle/master
Remove <wbr> as a proprietary tag.
2012-06-20 01:05:42 -07:00
Michael[tm] Smith 664f95ba5b Update the generated API docs. 2012-06-20 16:58:34 +09:00
Michael[tm] Smith a772bbb17f Let's actually commit the -gdoc feature this time. 2012-06-20 16:55:42 +09:00
Michael[tm] Smith 45fce5e3c2 Merge branch 'master' of github.com:w3c/tidy-html5
Forgot to pull.
2012-06-20 16:51:43 +09:00
Michael[tm] Smith 09e310b50c -gdoc opt, clean Google Docs HTML; fr Dave Raggett 2012-06-20 16:48:12 +09:00
Steven Le 57a98b97b6 Changed W3CAttrsFor_VIDEO -> W3CAttrsFor_WBR 2012-06-19 15:42:48 -07:00
Steven Le e8013a74b8 Remove <wbr> as a proprietary tag. 2012-06-19 09:39:06 -07:00
Michael[tm] Smith 491f3df396 Merge pull request #37 from e98cuenc/input-html5
Accept HTML5 input types.
2012-06-07 23:08:56 -07:00
Joaquin Cuenca Abela f91a020894 Accept HTML5 input types. 2012-06-07 16:54:04 +02:00
Michael[tm] Smith f212c3f380 Update version. 2012-04-26 00:31:18 +09:00
Ryan Kistner 8025154e30 Check for NULL pointer before calling strcasecmp in GetVersFromFPI 2012-04-23 11:51:58 +09:00
Michael[tm] Smith 21f5b68778 Removed some bad/obsolete test cases. Fixes #32. 2012-04-23 11:39:38 +09:00
Michael[tm] Smith 869ab4a4e5 Fix C90 compatibility issue. 2012-04-10 14:57:15 +09:00