BUG10796: Fix textoutput when doing pakfire update in WebUI
authorAlexander Marx <alexander.marx@ipfire.org>
Mon, 13 Apr 2015 05:52:25 +0000 (07:52 +0200)
committerAlexander Marx <alexander.marx@ipfire.org>
Mon, 13 Apr 2015 05:52:25 +0000 (07:52 +0200)
html/cgi-bin/pakfire.cgi

index 2a7ca84..143f123 100644 (file)
@@ -191,14 +191,14 @@ if ($return) {
                        <form method='post' action='$ENV{'SCRIPT_NAME'}'>
                                <input type='image' alt='$Lang::tr{'reload'}' title='$Lang::tr{'reload'}' src='/images/view-refresh.png' />
                        </form>
-               <tr><td colspan='2' align='left'><pre>
+               <tr><td colspan='2' align='left'><code>
 END
        my @output = `grep pakfire /var/log/messages | tail -20`;
        foreach (@output) {
-               print "$_";
+               print "$_<br>";
        }
        print <<END;
-                       </pre>
+                       </code>
                </table>
 END
        &Header::closebox();