So I played around with BBEdit for a while. I needed an HTML unescape feature for some of the files i was working on, but couldn’t find one in BBEdit itself. So I used the “Unix Filter” option in BBEdit, hacked my own Ruby script and had an unescape feature in a matter of minutes. If anyone is interested, grab this unescape script for BBEdit and place it in your ~/Library/Application Support/BBEdit/Unix Support/Unix Filters/ directory. You can then access the script by going to the #!->Unix Filters->unescape.rb filter. Your ugly, XSS-safe, escaped document will then be converted to a more readable and pretty looking one.