Added newline support in paid subscription descriptions
authorMarcel Werk <burntime@woltlab.com>
Wed, 31 Dec 2014 00:12:21 +0000 (01:12 +0100)
committerMarcel Werk <burntime@woltlab.com>
Wed, 31 Dec 2014 00:12:21 +0000 (01:12 +0100)
com.woltlab.wcf/templates/paidSubscriptionList.tpl

index e7e914768774ed8d8c4f1f3947bf42210ad57fc5..49d61961f51ada3e9ffd41705611d09969b9beae 100644 (file)
@@ -71,7 +71,7 @@
                                <li>
                                        <div class="containerHeadline">
                                                <h3>{$subscription->title|language}</h3>
-                                               <p>{$subscription->description|language}</p>
+                                               <p>{@$subscription->description|language|newlineToBreak}</p>
                                                
                                                <p class="marginTopTiny">{lang}wcf.paidSubscription.formattedCost{/lang}</p>
                                                
@@ -98,7 +98,7 @@
                                <li>
                                        <div class="containerHeadline">
                                                <h3>{$userSubscription->getSubscription()->title|language}</h3>
-                                               <p>{$userSubscription->getSubscription()->description|language}</p>
+                                               <p>{@$userSubscription->getSubscription()->description|language|newlineToBreak}</p>
                                                
                                                {if $userSubscription->endDate}
                                                        <p>{lang}wcf.paidSubscription.expires{/lang}: {@$userSubscription->endDate|time}</p>