Package: debconf
Version: 1.5.23
Severity: minor

When using the web frontend and an error is displayed, the "Description:"
for that error is printed "hard" against the text. For example, displaying
the following template:

  Template: foo/error
  Type: error
  _Description: Not enough foo
   You did not specify enough foo.

results in:

  [...]
  <b>Not enough foo</b>You did not specify enough foo<p>
  [...]

which looks like:

  [...]
  Not enough fooYou didn not specify enough foo.
  [...]        ^^^
                |
   ie. without a space here.

Patch attached.


Regards,

-- 
Chris Lamb, UK                                       [EMAIL PROTECTED]
                                                            GPG: 0x634F9A20
diff -urNad debconf-1.5.23.orig/Debconf/Element/Web/Text.pm 
debconf-1.5.23/Debconf/Element/Web/Text.pm
--- debconf-1.5.23.orig/Debconf/Element/Web/Text.pm     2008-08-02 
03:04:56.000000000 +0100
+++ debconf-1.5.23/Debconf/Element/Web/Text.pm  2008-08-02 03:15:38.000000000 
+0100
@@ -31,7 +31,7 @@
        s/\n/\n<br>\n/g;
        $_.="\n<p>\n";
 
-       return "<b>".$this->question->description."</b>$_<p>";
+       return "<h2>".$this->question->description."</h2><p>$_<p>";
 }
 
 =back

Attachment: signature.asc
Description: PGP signature

Reply via email to