diff --git a/lib/member_page.rb b/lib/member_page.rb index 2ad59c476..3d6315da8 100644 --- a/lib/member_page.rb +++ b/lib/member_page.rb @@ -38,7 +38,7 @@ class MemberPage < Scraped::HTML end field :email do - bio.xpath('//table/tr/td/a[contains(@href, "mailto")]/text()').to_s.tidy + bio.xpath('//table/tr/td/a[contains(@href, "mailto")]').map(&:text).map(&:tidy).join(';') end field :website do