2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-07 12:02:53 +08:00

FIX: render emoji in topic title

This commit is contained in:
Arpit Jalan 2017-04-10 23:29:03 +05:30
parent 6af864b969
commit 028eb8c05a

View file

@ -1,7 +1,8 @@
module TopicsHelper
include ApplicationHelper
def render_topic_title(topic)
link_to(topic.title,topic.relative_url)
link_to(gsub_emoji_to_unicode(topic.title),topic.relative_url)
end
def categories_breadcrumb(topic)