# This patch file was generated by NetBeans IDE # This patch can be applied using context Tools: Apply Diff Patch action on respective folder. # It uses platform neutral UTF-8 encoding. # Above lines and this line are ignored by the patching process. --- administrator/components/com_comprofiler/plugin.class.php +++ administrator/components/com_comprofiler/plugin.class.php @@ -852,7 +852,7 @@ $htmlDescription = ( $output == 'htmledit' ? $this->getFieldDescription( $field, $user, 'htmledit', $reason ) : null ); if ( $output == 'htmledit' ) { - $labelTitle = ( trim( strip_tags( $htmlDescription ) ) ? ' title="' . htmlspecialchars( $translatedTitle ) . ':' . htmlspecialchars( $htmlDescription ) . '"' : '' ); + $labelTitle = ( trim( strip_tags( $htmlDescription ) ) ? ' title="' . htmlspecialchars( $translatedTitle ) . ':' . htmlspecialchars( trim( strip_tags( $htmlDescription ) ) ) . '"' : '' ); // removed in fieldEditToHtml } else { $labelTitle = ''; @@ -1506,7 +1506,7 @@ $inputName = $field->name; $htmlDescription = $this->getFieldDescription( $field, $user, 'htmledit', $reason ); - $titleAttr = ( trim( strip_tags( $htmlDescription ) ) ? ' title="' . htmlspecialchars( $this->getFieldTitle( $field, $user, 'html', $reason ) ) . ': ' . htmlspecialchars( $htmlDescription ) . '"' : '' ); + $titleAttr = ( trim( strip_tags( $htmlDescription ) ) ? ' title="' . htmlspecialchars( $this->getFieldTitle( $field, $user, 'html', $reason ) ) . ': ' . htmlspecialchars( trim( strip_tags( $htmlDescription ) ) ) . '"' : '' ); $htmlInput = null; switch ( $type ) {