• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

xemlock / htmlpurifier-html5 / 13179873326

06 Feb 2025 01:28PM UTC coverage: 99.276% (-0.1%) from 99.406%
13179873326

push

github

web-flow
PHP 8.4 support (#84)

1 of 4 new or added lines in 1 file covered. (25.0%)

1508 of 1519 relevant lines covered (99.28%)

3883.48 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/library/HTMLPurifier/AttrDef/HTML5/FormRel.php
1
<?php
2

3
/**
4
 * Validates 'rel' attribute on <form> elements, as defined by the HTML5 spec.
5
 *
6
 * @see https://html.spec.whatwg.org/multipage/links.html#linkTypes
7
 */
8
class HTMLPurifier_AttrDef_HTML5_FormRel extends HTMLPurifier_AttrDef_HTML5_Rel
9
{
10
    protected static $values = array(
11
        'external' => true,
12
        'help' => true,
13
        'license' => true,
14
        'next' => true,
15
        'nofollow' => true,
16
        'noopener' => true,
17
        'noreferrer' => true,
18
        'opener' => true,
19
        'prev' => true,
20
        'search' => true,
21
    );
22
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc