Merge "Align "What's this" vertically"
[lhc/web/wiklou.git] / includes / htmlform / OOUIHTMLForm.php
index 9dd37b3..e47de61 100644 (file)
@@ -180,7 +180,7 @@ class OOUIHTMLForm extends HTMLForm {
                        'items' => $fieldsHtml,
                ];
                if ( $sectionName ) {
-                       $config['id'] = Sanitizer::escapeId( $sectionName );
+                       $config['id'] = Sanitizer::escapeIdForAttribute( $sectionName );
                }
                if ( is_string( $this->mWrapperLegend ) ) {
                        $config['label'] = $this->mWrapperLegend;