app/views/pdfs/member.html.haml in artfully_ose-1.2.0 vs app/views/pdfs/member.html.haml in artfully_ose-1.3.0.pre1
- old
+ new
@@ -52,10 +52,10 @@
person = member.person
.card
.left-side
.qr-code
- %img{:src => (member.download_link_for(:qr_code) rescue 'http://placehold.it/150/ffffff.png&text=No+QR+Code')}
+ %img{:src => (member.download_link_for(:qr_code).html_safe rescue 'http://placehold.it/150/ffffff.png&text=No+QR+Code')}
.right-side
.organization-name #{member.organization.name}
.membership Member: #{membership.membership_type.name}