Guest User

Untitled

a guest
May 15th, 2012
845
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Replace all html special characters in Smarty
  2. {$string|unescape:"entity"|truncate:5}
  3.  
  4. {$string|html_entity_decode:2:"UTF-8"|truncate:5:"...":true|htmlentities:2:"UTF-8"}
  5.  
  6. {$string|html_entity_decode|truncate:5}
RAW Paste Data