File "FormRel.php"

Full Path: /home/spiraleeea/www/spirale/plugins-dist/safehtml/lib/xemlock/htmlpurifier-html5/library/HTMLPurifier/AttrDef/HTML5/FormRel.php
File size: 559 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

/**
 * Validates 'rel' attribute on <form> elements, as defined by the HTML5 spec.
 *
 * @see https://html.spec.whatwg.org/multipage/links.html#linkTypes
 */
class HTMLPurifier_AttrDef_HTML5_FormRel extends HTMLPurifier_AttrDef_HTML5_Rel
{
    protected static $values = array(
        'external' => true,
        'help' => true,
        'license' => true,
        'next' => true,
        'nofollow' => true,
        'noopener' => true,
        'noreferrer' => true,
        'opener' => true,
        'prev' => true,
        'search' => true,
    );
}