aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AdminPanel
diff options
context:
space:
mode:
Diffstat (limited to 'lib/AdminPanel')
-rw-r--r--lib/AdminPanel/rpmdragora.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/AdminPanel/rpmdragora.pm b/lib/AdminPanel/rpmdragora.pm
index 11b549c1..be4b1909 100644
--- a/lib/AdminPanel/rpmdragora.pm
+++ b/lib/AdminPanel/rpmdragora.pm
@@ -264,6 +264,8 @@ sub interactive_msg {
if ($options{scroll}) {
$info->{richtext} = 1;
+ ## richtext needs <br> instead of '\n'
+ $contents =~ s/\n/<br>/g;
} else { #- because we'll use a WrappedLabel
$contents = MDK::Common::String::formatAlaTeX($contents) if !ref $contents;
}