From: Sarven Capadisli Date: Mon, 21 Dec 2009 23:19:34 +0000 (+0000) Subject: Moving & replacing to the end of html and source data X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4c91f6bbfd060056f339056451f5e2d96ab58a14;p=quix0rs-gnu-social.git Moving & replacing to the end of html and source data --- diff --git a/plugins/Realtime/realtimeupdate.js b/plugins/Realtime/realtimeupdate.js index 281d3d82de..52151f9de8 100644 --- a/plugins/Realtime/realtimeupdate.js +++ b/plugins/Realtime/realtimeupdate.js @@ -130,8 +130,8 @@ RealtimeUpdate = { } user = data['user']; - html = data['html'].replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>').replace(/"/g,'"'); - source = data['source'].replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>').replace(/"/g,'"'); + html = data['html'].replace(/</g,'<').replace(/>/g,'>').replace(/"/g,'"').replace(/&/g,'&'); + source = data['source'].replace(/</g,'<').replace(/>/g,'>').replace(/"/g,'"').replace(/&/g,'&'); ni = "
  • "+ "
    "+