File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 26
26
< em >
27
27
•
28
28
<% if topic . last_reply_user_login . blank? %>
29
- <%= sanitize t ( "common.created_at" , time : timeago ( topic . created_at ) ) %>
29
+ <%= raw t ( "common.created_at" , time : timeago ( topic . created_at ) ) %>
30
30
<% else %>
31
- <%= t ( "common.last_by" ) %> <%= user_name_tag ( topic . last_reply_user_login ) %> <%= sanitize t ( "common.reply_at" , time : timeago ( topic . replied_at ) ) %>
31
+ <%= t ( "common.last_by" ) %> <%= user_name_tag ( topic . last_reply_user_login ) %> <%= raw t ( "common.reply_at" , time : timeago ( topic . replied_at ) ) %>
32
32
<% end %>
33
33
</ em >
34
34
</ div >
35
35
</ div >
36
36
</ div >
37
37
</ div >
38
38
<% end %>
39
-
Original file line number Diff line number Diff line change 5
5
< h1 class ="entry-title "> <%= truncate ( topic . title , length : 100 ) %> </ h1 >
6
6
< div class ="info leader ">
7
7
<%= render_node_name ( topic . node_name , topic . node_id ) %>
8
- ·
8
+ ·
9
9
<%= user_name_tag ( topic . user , data : { author : true } ) %>
10
- ·
11
- <%= sanitize t ( "common.created_at" , time : timeago ( topic . created_at ) ) %>
10
+ ·
11
+ <%= raw t ( "common.created_at" , time : timeago ( topic . created_at ) ) %>
12
12
<% if !topic . last_reply_user_login . blank? %>
13
- ·
14
- <%= t ( "common.last_by" ) %> <%= user_name_tag ( topic . last_reply_user_login ) %> <%= sanitize t ( "common.reply_at" , time : timeago ( topic . replied_at ) ) %>
13
+ ·
14
+ <%= t ( "common.last_by" ) %> <%= user_name_tag ( topic . last_reply_user_login ) %> <%= raw t ( "common.reply_at" , time : timeago ( topic . replied_at ) ) %>
15
15
<% end %>
16
- ·
16
+ ·
17
17
<%= topic . hits %> <%= t ( "common.read_times" ) %>
18
18
</ div >
19
19
</ div >
You can’t perform that action at this time.
0 commit comments