welovewordpress / SublimeHtmlTidy

Tidy, clean and prettify your HTML code with this plugin for Sublime Text 2
GNU General Public License v2.0
88 stars 15 forks source link

Prevent to change special characters to code verision. #18

Open realrandal opened 12 years ago

realrandal commented 12 years ago

Hey, thanks for nice plugin.

I want to know how to prevent Tidy to change my symbols to code versions like & after tidy become &amp and so on. There is a setting for stop this behavior?

fitnr commented 12 years ago

Using entities is a part of having well-formed HTML. However, you can disable this for ampersands in particular. Add "quote-ampersand": false to the user settings file.

realrandal commented 12 years ago

I'm sure you have right. But I prefer in this area to be more convenient than regular. Maybe advanced devs see symbol at first sight but I'm not at this level of force ;)

So thanks for this left this option in plugin and pouting me that.

Regards!