do nothing for other languages than HTML, CSS or JS

This commit is contained in:
Donald Pipowitch 2014-03-05 08:00:28 +01:00
parent 46c711dcdf
commit 9d496ee338
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,8 @@ function beautify() {
case 'CSS': case 'CSS':
text = beautifyCSS(text, beautifyOptions); text = beautifyCSS(text, beautifyOptions);
break; break;
default:
return;
} }
if (isSelection) { if (isSelection) {