lib/html/source/javascripts/websocket.coffee in flammarion-0.1.7pre vs lib/html/source/javascripts/websocket.coffee in flammarion-0.1.7pre2

- old
+ new

@@ -78,10 +78,10 @@ text = ansi_up.escape_for_html(text) if options.escape_html text = ansi_up.ansi_to_html(text, {use_classes:true}) if options.colorize if options.escape_icons text = text.replace /:[\w-]+:/g, (match) -> if font_awesome_list.includes(match[1..-2]) then "<i class='fa fa-#{match[1..-2]}'></i>" else match - emojione.imagePathPNG = '/images/emoji/' + emojione.imagePathPNG = 'images/emoji/' text = emojione.toImage(text) if options.escape_icons text = $("<div>#{text}</div>") text.find("a[href^='http']").attr('target','_blank') return text.html()