extends ../layout

block content
  .list-group
    each bin in bins
      a.list-group-item(href="/" + bin.hash)
        .pull-right
          small: i= moment(bin.createdAt).format('LLLL')
          span &nbsp;
          if bin.visibility === "Public"
            span.label.label-pill.label-primary= bin.visibility
          else
            span.label.label-pill.label-default= bin.visibility
        div!= bin.content.replace(/<br>/g, '{br}').replace(/<\/?[^>]+(>|$)/g, '').replace(/\{br\}/g, '<br>')


extends ../layout

block content
  .list-group
    each bin in bins
      a.list-group-item(href="/" + bin.hash)
        .pull-right
          small: i= moment(bin.createdAt).format('LLLL')
          span &nbsp;
          if bin.visibility === "Public"
            span.label.label-pill.label-primary= bin.visibility
          else
            span.label.label-pill.label-default= bin.visibility
        div!= bin.content.replace(/(<br>|<\/div>)/g, '{br}').replace(/<\/?[^>]+(>|$)/g, '').replace(/\{br\}/g, '<br>')


Add new lines for ending div tags
Add new lines for ending div tags
