colinta / SublimeStringEncode

Converts characters from one "encoding" to another using a transformation (think HTML entities, not character encodings)
Other
150 stars 22 forks source link

safe_html_entitize also entitize comment HTML markup "<!-- -->" #27

Closed charlau closed 8 years ago

charlau commented 8 years ago

It's all in the title. If we run the safe_html_entitize on an entire page, it will spare the HTML markup, except comments. But markup such as "" should be left untouched.

colinta commented 8 years ago

Interesting idea! I don't have any need for this (I always use this plugin with small selections, not the entire document), but I would definitely accept a PR to add this feature.