Add # to $dontEncode list

Adding # into dontEncode list will help to point to specific anchor tag after refresh or redirect