priore

XML formatter for TextWrangler

Jan 16th, 2014
107
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # put script in ~/Library/Application Support/TextWrangler/Text Filters/Tidy XML.py
  2. #!/bin/sh
  3. XMLLINT_INDENT=$'\t' xmllint --format --encode utf-8 -
RAW Paste Data