Sublime Text HTML-CSS-JS Prettify Removing Code

2.4k Views Asked by At

HTML-CSS-JS Prettify is by far the best formatting plugin I have found for Sublime Text, but I work on HTML Emails being sent with ExactTarget.

ExactTarget's Amp script for variable emails uses the format %%=v(@var)=%% and when I run the HTML Prettify plugin it changes my code to %=v(@var)=%

Why is a format plugin changing my code and not just formatting it? What in my settings can I change to keep this from happening?

1

There are 1 best solutions below

5
On

You can specify sections of code for the plugin to ignore. From their repo: https://github.com/victorporof/Sublime-HTMLPrettify#ignoring-certain-blocks-of-code