Topic: Allow HTML5 data-* attributes?
Hello,
thanks for creating htmlawed! Its been working out great so far with my testing
I was wondering if its possible to allow any data-* attribute on an element?
my current configuration is the following..
$config = array(
'tidy' => -1,
'hook_tag' => 'hl_css_filter',
'comments' => 1,
'cdata' => 1,
'schemes' => 'http, ht\tps', // backslash was added because I couldnt post without it..
'elements' => 'a, em, strong, i, u, del, sub, sup, strike,
img, marquee, br, hr,
p, div, span, article,
table, thead, tbody, tfoot, tr, td, th, caption,
blockquote, cite, code, pre, big, small,
h1, h2, h3, h4, h5, h6,
dl, dt, dd, fieldset, legend,
nav, ul, ol, li',
'deny_attribute' => '* -id -class -style -title -href -target -colspan -rowspan -src -alt -direction'
);