Skip to content

Commit

Permalink
Fixes tgstation#12188, ' no longer breaks AI hrefs in binary chat
Browse files Browse the repository at this point in the history
  • Loading branch information
feemjmeem committed Oct 14, 2015
1 parent b97a8b5 commit 4fa1d75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mob/living/silicon/say.dm
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
for(var/mob/M in player_list)
if(M.binarycheck() || (M in dead_mob_list))
if(istype(M, /mob/living/silicon/ai))
var/renderedAI = "<i><span class='game say'>Robotic Talk, <a href='?src=\ref[M];track=[name]'><span class='name'>[name] ([desig])</span></a> <span class='message'>[message_a]</span></span></i>"
var/renderedAI = "<i><span class='game say'>Robotic Talk, <a href='?src=\ref[M];track=[html_encode(name)]'><span class='name'>[name] ([desig])</span></a> <span class='message'>[message_a]</span></span></i>"
M << renderedAI
else
M << rendered
Expand Down

0 comments on commit 4fa1d75

Please sign in to comment.