From 38e3cc12fd83031a99014f7478a9b39d0f1d228a Mon Sep 17 00:00:00 2001 From: Michael Ball Date: Thu, 18 Jun 2020 11:04:11 -0700 Subject: [PATCH] strip text on homepage tickets --- app/views/conferences/_tickets.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/conferences/_tickets.haml b/app/views/conferences/_tickets.haml index a028e8a0..8e29558d 100644 --- a/app/views/conferences/_tickets.haml +++ b/app/views/conferences/_tickets.haml @@ -20,7 +20,7 @@ %h3.text-center.word_break = ticket.title .word_break - = markdown(ticket.description.split("\n").first) + = markdown(ticket.description.split("\n")&.first.strip) %button.btn-block.btn.btn-lg.btn-success %i.fa.fa-ticket.fa-fw{"aria-hidden": true} = humanized_money_with_symbol(ticket.price)