Browse files

Autolink in hover balloon as well.

  • Loading branch information...
1 parent b5f47b6 commit d65e659e4921435b557677a425cde9faec90d576 @marnen committed Mar 3, 2014
Showing with 2 additions and 2 deletions.
  1. +1 −1 app/assets/javascripts/templates/story_hover.jst.ejs
  2. +1 −1 spec/features/stories_spec.rb
View
2 app/assets/javascripts/templates/story_hover.jst.ejs
@@ -16,7 +16,7 @@
</div>
<% if (story.get('description')) { %>
<h4 class="title"><%= story.humanAttributeName('description') %></h4>
- <div class="description"><%= window.md.makeHtml(story.escape('description')) %></div>
+ <div class="description"><%= window.md.makeHtml(story.get('description')) %></div>
<% } %>
<% if (story.hasNotes()) { %>
<h5 class="title"><%= I18n.t('notes') %></h5>
View
2 spec/features/stories_spec.rb
@@ -148,7 +148,7 @@
page.should have_css "a[href='#{url}']", text: url
end
- xspecify 'hover' do
+ specify 'hover' do
find('.popover-activate').hover
page.should have_css "a[href='#{url}']", text: url
end

0 comments on commit d65e659

Please sign in to comment.