%span.attachment-title

- if attachment["from_url"]
  %a{href: attachment["from_url"]}
    - if attachment["title"]
      = attachment["title"]
    - else
      - if attachment["from_url"].length < 50
        = attachment["from_url"]
      - else
        = attachment["from_url"][0..49] + "..."

.clear

%div.clear -# - if attachment -# ( -# = attachment -# = “ - ” -# = attachment -# )