Fix non-lowercase hashtags not being picked up by the streaming API (#11508)
Regression from f371b32
Fix hashtag links always being lowercase
This commit is contained in:
parent
a8958d07e2
commit
5e35aa8280
5 changed files with 8 additions and 8 deletions
|
@ -294,7 +294,7 @@ class Formatter
|
|||
end
|
||||
|
||||
def hashtag_html(tag)
|
||||
"<a href=\"#{encode(tag_url(tag.downcase))}\" class=\"mention hashtag\" rel=\"tag\">#<span>#{encode(tag)}</span></a>"
|
||||
"<a href=\"#{encode(tag_url(tag))}\" class=\"mention hashtag\" rel=\"tag\">#<span>#{encode(tag)}</span></a>"
|
||||
end
|
||||
|
||||
def mention_html(account)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue