wdpr
Preparing search index...
@wdprlib/parser
parser/rules/utils
filterUnsafeAttributes
Function filterUnsafeAttributes
filterUnsafeAttributes
(
attrs
:
Record
<
string
,
string
>
)
:
Record
<
string
,
string
>
Filter unsafe HTML attributes (blocks event handlers, allows safe attributes + aria-* / data-*)
Parameters
attrs
:
Record
<
string
,
string
>
Returns
Record
<
string
,
string
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
wdpr
Loading...
Filter unsafe HTML attributes (blocks event handlers, allows safe attributes + aria-* / data-*)