Manos Chorianopoulos

fix coupon cell discription

...@@ -63,7 +63,8 @@ import UIKit ...@@ -63,7 +63,8 @@ import UIKit
63 // couponImage.load(link: couponSetData?.img_preview ?? "", placeholder: UIImage(), cache: URLCache()) 63 // couponImage.load(link: couponSetData?.img_preview ?? "", placeholder: UIImage(), cache: URLCache())
64 // nameLabel.text = couponSetData?.name ?? "" 64 // nameLabel.text = couponSetData?.name ?? ""
65 dicountLabel.text = (coupon.discount ?? "") + "€" 65 dicountLabel.text = (coupon.discount ?? "") + "€"
66 - discriptionLabel.text = couponSetData?.short_description ?? "" 66 + let htmlText = couponSetData?.inner_text ?? ""
67 + discriptionLabel.text = htmlText.htmlToString
67 expirationLabel.text = "Ισχύει έως "+(coupon.expiration ?? "") 68 expirationLabel.text = "Ισχύει έως "+(coupon.expiration ?? "")
68 } 69 }
69 70
......