diff options
Diffstat (limited to 'twittperator.js')
-rwxr-xr-x | twittperator.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/twittperator.js b/twittperator.js index 2022760..f16c3c6 100755 --- a/twittperator.js +++ b/twittperator.js @@ -1201,10 +1201,10 @@ } xhr.send(null); } // }}} + function unescapeBrakets(str) // {{{ + str.replace(/</g, "<").replace(/>/g, ">"); + // }}} function showTL(s) { // {{{ - function unescapeBrakets(str) - str.replace(/</g, "<").replace(/>/g, ">"); - let html = <style type="text/css"><![CDATA[ .twitter.user { vertical-align: top; } .twitter.entry-content { white-space: normal !important; } @@ -1479,7 +1479,7 @@ function loadPlugins() { // {{{ return <div highlight={highlightGroup || "CompItem"} style="white-space: nowrap"> <li highlight="CompDesc"> <img src={desc.user.profile_image_url} style="max-width: 24px; max-height: 24px"/> -  {desc.user.screen_name}: {desc.text} +  {desc.user.screen_name}: {unescapeBrakets(desc.text)} </li> </div>; } |