Christopher Brannon
1ef5ba7968
Fix a tiny buffer overflow.
2015-11-23 12:28:00 -08:00
Shane McCarron
c0b769c5c7
Initial cut at RDFa support (again)
...
New branch that implements support for RDFa attributes. Should be
cleaner than my first attempt in PR #299 - also references issue #209
2015-11-16 11:29:23 -06:00
Geoff McLane
c68ad42482
Revert 22a1922c35
2015-11-07 14:50:10 +01:00
Shane McCarron
c572e3e3c8
Initial cut at supporting RDFa attributes.
2015-11-06 12:19:05 -06:00
Geoff McLane
79ac8b2554
Issue #185 - Treat elements ids as case-sensitive if in HTML5 mode
2015-03-13 19:47:28 +01:00
Geoff McLane
6e3b293985
Issue #130 - Add TidyAttr_DISPLAY for math tag
2015-02-13 18:37:07 +01:00
Geoff McLane
d72e681d32
Issue #152 - add srcset and sizes to img tag
2015-02-06 19:24:04 +01:00
Geoff McLane
698396eaa0
Issue #149 - avoid crash on null attr value
2015-02-03 13:38:20 +01:00
Geoff McLane
885c7caab7
Issue #70 - Initial implmentation of SVG support.
...
An immense thanks to Ger Hobbelt who had already done this
in his github.com/GerHobbelt/htmltidy fork.
The two sources have diverges so was not a simple cut
an paste. But again thanks Ger for this.
2015-02-02 17:36:27 +01:00
Geoff McLane
f884da577d
Small fix for TidyAttr_ASYNC to CH_BOOL
2015-01-20 18:10:13 +01:00
Geoff McLane
3f46000197
add allowfullscreen attribute exception
2015-01-18 20:59:27 +01:00
Geoff McLane
82fc656863
exception attr tabindex can begin with '-'
2015-01-18 14:46:12 +01:00
Jim Derry
b8608380a2
Add support for 'role' attribute. #115
2014-11-22 20:44:38 +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
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
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
Craig Barnes
ce27a729dc
Remove CVS info blocks
2012-08-08 17:27:29 +01:00
Michael[tm] Smith
a772bbb17f
Let's actually commit the -gdoc feature this time.
2012-06-20 16:55:42 +09:00
Joaquin Cuenca Abela
f91a020894
Accept HTML5 input types.
2012-06-07 16:54:04 +02:00
Michael[tm] Smith
3ed33a1823
Merge in TidyAttr_XML_LANG change.
2012-03-16 20:55:59 +09:00
Michael[tm] Smith
264c9bc043
HTML IDs can contain anything except whitespace.
...
Introduced TY_(IsHTMLSpace)(uint c), which checks to see if c is one of the
chars that the HTML spec (and browsers) treat as a space in attribute
values: 0x020 (space), 0x009 (tab), 0x00a (LF), 0x00c (FF), or 0x00d (CF).
Can't use ANSI C isspace(int c) here because like standard functions for
many other langs, it also treats 0x00b as a space.
2012-01-02 16:12:51 +09:00
Michael[tm] Smith
34305a13d1
report missing href & rel for link elements
2011-11-20 20:58:35 +09:00
Michael[tm] Smith
b92d7aab88
new
2011-11-17 11:44:16 +09:00