From cc3f49c576a063afeedfba52730216e64f55b700 Mon Sep 17 00:00:00 2001 From: pek5892 Date: Thu, 23 May 2024 17:45:51 +0200 Subject: [PATCH] Fix gestione password --- src/HTMLBuilder/Handler/DefaultHandler.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/HTMLBuilder/Handler/DefaultHandler.php b/src/HTMLBuilder/Handler/DefaultHandler.php index c2cc7865e..3fbfe8212 100755 --- a/src/HTMLBuilder/Handler/DefaultHandler.php +++ b/src/HTMLBuilder/Handler/DefaultHandler.php @@ -101,8 +101,12 @@ class DefaultHandler implements HandlerInterface */ protected function password(&$values, &$extras) { + $values['icon-after'] = ' '; + $result = ' '; if (!empty($values['strength'])) { - $values['icon-after'] .= '  | '; + $values['icon-after'] .= '  |  '; $result .= '
@@ -197,7 +201,6 @@ class DefaultHandler implements HandlerInterface } // Delega al metodo "text", per la generazione del codice HTML - $values['icon-after'] = ''; $result .= $this->text($values, $extras); return $result;