File "LinkRel.php"
Full Path: /home/spiraleeea/www/spirale/plugins-dist/safehtml/lib/xemlock/htmlpurifier-html5/library/HTMLPurifier/AttrDef/HTML5/LinkRel.php
File size: 680 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* Validates 'rel' attribute on <link> elements, as defined by the HTML5 spec.
*
* Keywords that are body-ok affect whether link elements are allowed in the body.
* @see https://html.spec.whatwg.org/multipage/links.html#body-ok
* @see https://html.spec.whatwg.org/multipage/links.html#linkTypes
*/
class HTMLPurifier_AttrDef_HTML5_LinkRel extends HTMLPurifier_AttrDef_HTML5_Rel
{
protected static $values = array(
'dns-prefetch' => true,
'modulepreload' => true,
'pingback' => true,
'preconnect' => true,
'prefetch' => true,
'preload' => true,
'prerender' => true,
'stylesheet' => true,
);
}