Skip to content

Commit

Permalink
Story: description_or_story_text should return plaintext
Browse files Browse the repository at this point in the history
Co-authored-by: joshua stein <[email protected]>
  • Loading branch information
k0kubun and jcs committed Sep 30, 2024
1 parent fca941b commit 330cc4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/lobsters/app/models/story.rb
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ def description_or_story_text(chars = 0)
s = s.to_s[0, chars].gsub(/ [^ ]*\z/, "")
end

HtmlEncoder.encode(s.to_s)
HtmlEncoder.decode(s.to_s)
end

def domain_search_url
Expand Down

0 comments on commit 330cc4f

Please sign in to comment.