diff options
author | Angelo Naselli <anaselli@linux.it> | 2014-07-03 18:44:55 +0200 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2014-07-03 18:44:55 +0200 |
commit | e3de48a453d775e86ab99bf0b2acd83f817dfb7e (patch) | |
tree | 00bcb6772c3bfc5876860a3290ec4e29c4aec422 /lib | |
parent | af11621493db7a32c9177762709d88877af93c87 (diff) | |
download | manatools-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')
-rw-r--r-- | lib/AdminPanel/rpmdragora.pm | 2 |
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; } |