script/gatherer/cards/double_faced.rb
# For some reason, the flavor text on double-faced cards is formatted
# differently from every other card.
For some reason, the flavor text on double-faced cards is formatted
differently from every other card.
For some reason the flavor text on double - faced cards is formatted differently from every other card .
def parse_flavor_text
    return FLAVOR_TEXT_OVERRIDES[self.multiverse_id] if FLAVOR_TEXT_OVERRIDES[self.multiverse_id]
    textboxes = container.css('[id$="flavorRow"] .cardtextbox')
    textboxes.map{|t| t.text.strip}.select(&:present?).join("\n").presence
  end
def parse_flavor_text return FLAVOR_TEXT_OVERRIDES [ self . multiverse_id ] if FLAVOR_TEXT_OVERRIDES [ self . multiverse_id ] textboxes = container . css ( '[id$="flavorRow"] .cardtextbox' ) textboxes . map { | t | t . text . strip } . select ( & :present? ) . join ( "\n" ) . presence end
For some reason, the flavor text on double-faced cards is formatted
differently from every other card.
For some reason the flavor text on double - faced cards is formatted differently from every other card .