projects
/
pxelator
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove newline from end of ssh key
[pxelator]
/
lib
/
PXElator
/
html.pm
diff --git
a/lib/PXElator/html.pm
b/lib/PXElator/html.pm
index
062fb88
..
799df37
100644
(file)
--- a/
lib/PXElator/html.pm
+++ b/
lib/PXElator/html.pm
@@
-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