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

xemlock / htmlpurifier-html5 / 13168072550

05 Feb 2025 10:52PM UTC coverage: 99.406%. Remained the same
13168072550

push

github

xemlock
Adjust tests for HTMLPurifier 4.18.0

Support for conditional comments was removed in HTMLPurifier 4.18.0,
see: https://github.com/ezyang/htmlpurifier/commit/4828fdf.

1507 of 1516 relevant lines covered (99.41%)

3215.37 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