= div_for(course, class: ['col-xs-12', 'col-sm-6', 'col-md-4', 'col-lg-3']) do
  div.box.text-center.thumbnail
    = link_to '', course_path(course)
    div.course-logo
      = display_course_logo(course)
    div.caption
      / TODO: Truncate text when text truncator is implemented for HTML pipeline
      h4 = format_inline_text(course.title)
      - unless course.description.blank?
        div.description
          = format_html(course.description)

= div_for(course, class: ['col-xs-12', 'col-sm-6', 'col-md-4', 'col-lg-3']) do
  div.box.text-center.thumbnail
    = link_to '', course_path(course)
    div.course-logo
      = display_course_logo(course)
    div.caption
      / TODO: Truncate text when text truncator is implemented for HTML pipeline
      h4 = format_inline_text(course.title)
      - unless course.description.blank?
        div.description
          = strip_tags(course.description)

Remove tags from course description on course index page.
Remove tags from course description on course index page.

Prevents image attachments which might require sign in from appearing
and causing an image download upon sign in.

cysjonathan/coursemology2,Coursemology/coursemology2,cysjonathan/coursemology2,Coursemology/coursemology2,cysjonathan/coursemology2,Coursemology/coursemology2,Coursemology/coursemology2,Coursemology/coursemology2,Coursemology/coursemology2,Coursemology/coursemology2