Smaller and faster htmlSpecialCharsEntityEncode

Just optimized the function.