From a4b5b782e33a53b0dc14ad1ac9eee51160e912eb Mon Sep 17 00:00:00 2001 From: NOYB Date: Sun, 13 Dec 2015 01:54:37 -0800 Subject: HTML Compliance - Collapsible Form Section HREF Bad value for attribute href on element a: Illegal character in fragment: not a URL code point. Syntax of URL:Any URL. For example: /hello, #canvas, or http://example.org/. Characters should be represented in NFC and spaces should be escaped as %20. Fix is to set an id on the target. --- src/usr/local/www/classes/Form/Section.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/usr') diff --git a/src/usr/local/www/classes/Form/Section.class.php b/src/usr/local/www/classes/Form/Section.class.php index ac1587d..eff386a 100644 --- a/src/usr/local/www/classes/Form/Section.class.php +++ b/src/usr/local/www/classes/Form/Section.class.php @@ -81,11 +81,11 @@ class Form_Section extends Form_Element if ($this->_collapsible & COLLAPSIBLE) { $hdricon = '' . - '' . + '' . '' . '' . ''; - $bodyclass = '
_attributes['id'] . '_panel-body" class="panel-body collapse '; if (($this->_collapsible & SEC_CLOSED)) { $bodyclass .= 'out">'; } else { -- cgit v1.1