(update) The two first if statements in defaultToWhiteSpace() are unreachable because the variable 'from' is hard-coded value. The regex it's just wrapping the text with '['+ text + ']'. This function looks like an old code. Did I make ng-tasty faster?? :D
(update) The two first if statements in defaultToWhiteSpace() are unreachable because the variable 'from' is hard-coded value. The regex it's just wrapping the text with '['+ text + ']'. This function looks like an old code. Did I make ng-tasty faster?? :D

Zizzamia/ng-tasty,Zizzamia/ng-tasty