remove newline from end of ssh key
[pxelator] / lib / PXElator / html.pm
index 062fb88..799df37 100644 (file)
@@ -86,6 +86,7 @@ sub conf {
                                $html = qq|<a title="$html" href=http://$ip:16992/logon.htm>logon</a>|;
                        } elsif ( $name eq 'ssh' ) {
                                $html =~ s{\s(\S{16}).+(\S{16})\s}{ $1..$2 };
+                               chomp($html);
                        }
                        $html = qq|<pre style="display: inline">$html</pre>|
                        unless