aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AdminPanel
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-07-03 18:44:55 +0200
committerAngelo Naselli <anaselli@linux.it>2014-07-03 18:44:55 +0200
commite3de48a453d775e86ab99bf0b2acd83f817dfb7e (patch)
tree00bcb6772c3bfc5876860a3290ec4e29c4aec422 /lib/AdminPanel
parentaf11621493db7a32c9177762709d88877af93c87 (diff)
downloadmanatools-e3de48a453d775e86ab99bf0b2acd83f817dfb7e.tar
manatools-e3de48a453d775e86ab99bf0b2acd83f817dfb7e.tar.gz
manatools-e3de48a453d775e86ab99bf0b2acd83f817dfb7e.tar.bz2
manatools-e3de48a453d775e86ab99bf0b2acd83f817dfb7e.tar.xz
manatools-e3de48a453d775e86ab99bf0b2acd83f817dfb7e.zip
Fixed content message if rich text is enabled
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;
}